Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 207 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.259/3.259, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 66.89 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3814, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1841/0.5655, allocations: 135.9 MB / 1.46 GB, free: 8.621 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.5821, allocations: 9.954 MB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.5835, allocations: 27.81 kB / 1.47 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5845, allocations: 293.6 kB / 1.47 GB, free: 14.32 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.5878, allocations: 0.9949 MB / 1.471 GB, free: 13.33 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.5907, allocations: 1.117 MB / 1.472 GB, free: 12.22 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.593, allocations: 1.744 MB / 1.474 GB, free: 10.47 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.5945, allocations: 0.9476 MB / 1.474 GB, free: 9.488 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.5968, allocations: 0.7552 MB / 1.475 GB, free: 8.742 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009141/0.5977, allocations: 0.6418 MB / 1.476 GB, free: 8.098 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.5979, allocations: 136 kB / 1.476 GB, free: 7.965 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.6002, allocations: 1.049 MB / 1.477 GB, free: 6.914 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003862/0.6005, allocations: 390.7 kB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.6012, allocations: 0.5443 MB / 1.478 GB, free: 5.984 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.6047, allocations: 2.273 MB / 1.48 GB, free: 3.703 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6047, allocations: 0 / 1.48 GB, free: 3.703 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6047, allocations: 4 kB / 1.48 GB, free: 3.699 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.535e-05/0.6047, allocations: 4 kB / 1.48 GB, free: 3.695 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003498/0.6082, allocations: 1.708 MB / 1.482 GB, free: 1.953 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6082, allocations: 8.031 kB / 1.482 GB, free: 1.945 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.6106, allocations: 322.8 kB / 1.482 GB, free: 1.629 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.6123, allocations: 0.8576 MB / 1.483 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.6123, allocations: 74 kB / 1.483 GB, free: 0.668 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.6125, allocations: 95.98 kB / 1.483 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.6151, allocations: 1.486 MB / 1.485 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.6152, allocations: 0 / 1.485 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.6153, allocations: 44 kB / 1.485 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.6153, allocations: 28 kB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.6178, allocations: 1.272 MB / 1.486 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0058/0.6236, allocations: 2.564 MB / 1.488 GB, free: 11 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.6257, allocations: 0.9769 MB / 1.489 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.6265, allocations: 382.3 kB / 1.49 GB, free: 9.633 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.6268, allocations: 64.91 kB / 1.49 GB, free: 9.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.6282, allocations: 0.8474 MB / 1.491 GB, free: 8.648 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 3.497e-06/0.6282, allocations: 0 / 1.491 GB, free: 8.648 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004438/0.6326, allocations: 1.485 MB / 1.492 GB, free: 7.152 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6327, allocations: 188.9 kB / 1.492 GB, free: 6.926 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.634, allocations: 0.7664 MB / 1.493 GB, free: 6.152 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.6342, allocations: 49.7 kB / 1.493 GB, free: 6.098 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.6347, allocations: 477.2 kB / 1.493 GB, free: 5.625 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.6351, allocations: 337.2 kB / 1.494 GB, free: 5.293 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.6355, allocations: 186.6 kB / 1.494 GB, free: 5.102 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6357, allocations: 341.9 kB / 1.494 GB, free: 4.762 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007715/0.6365, allocations: 357.8 kB / 1.495 GB, free: 4.414 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6375, allocations: 0.6672 MB / 1.495 GB, free: 3.676 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.6392, allocations: 0.7843 MB / 1.496 GB, free: 2.879 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6392, allocations: 0 / 1.496 GB, free: 2.879 MB / 1.186 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002928/0.6421, allocations: 1.088 MB / 1.497 GB, free: 1.781 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.6421, allocations: 8 kB / 1.497 GB, free: 1.773 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6421, allocations: 0 / 1.497 GB, free: 1.773 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008871/0.643, allocations: 117.6 kB / 1.497 GB, free: 1.652 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.644, allocations: 203.7 kB / 1.497 GB, free: 1.453 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.6475, allocations: 2.812 MB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.6486, allocations: 115.3 kB / 1.5 GB, free: 14.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.6487, allocations: 43.97 kB / 1.5 GB, free: 14.27 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006233/0.6493, allocations: 315.4 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.6496, allocations: 107.3 kB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.6527, allocations: 1.302 MB / 1.502 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6527, allocations: 12 kB / 1.502 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6527, allocations: 3.938 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6527, allocations: 3.984 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.6575, allocations: 2.131 MB / 1.504 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6575, allocations: 0 / 1.504 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.6584, allocations: 195.8 kB / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006315/0.659, allocations: 101.6 kB / 1.504 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/0.6591, allocations: 31.97 kB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.6626, allocations: 2.84 MB / 1.507 GB, free: 6.949 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6626, allocations: 0 / 1.507 GB, free: 6.949 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.6658, allocations: 1.23 MB / 1.508 GB, free: 5.695 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/0.6665, allocations: 238.9 kB / 1.509 GB, free: 5.461 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.6667, allocations: 28 kB / 1.509 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.6676, allocations: 77.31 kB / 1.509 GB, free: 5.359 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.6678, allocations: 84.84 kB / 1.509 GB, free: 5.277 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.6679, allocations: 43.97 kB / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000874/0.6688, allocations: 0.542 MB / 1.509 GB, free: 4.695 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6688, allocations: 0 / 1.509 GB, free: 4.695 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001484/0.6703, allocations: 478.8 kB / 1.51 GB, free: 4.227 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002497/0.6728, allocations: 0.7341 MB / 1.511 GB, free: 3.695 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002527/0.6753, allocations: 1.107 MB / 1.512 GB, free: 2.562 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6753, allocations: 3.859 kB / 1.512 GB, free: 2.559 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.6767, allocations: 0.706 MB / 1.512 GB, free: 1.828 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6783, allocations: 349.6 kB / 1.513 GB, free: 1.512 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.6823, allocations: 2.068 MB / 1.515 GB, free: 15.42 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.6829, allocations: 0.5086 MB / 1.515 GB, free: 14.88 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001063/0.684, allocations: 315.3 kB / 1.515 GB, free: 14.57 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/0.6843, allocations: 119.4 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of SimCode: time 1.242e-06/0.6843, allocations: 3.938 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of Templates: time 0.03788/0.7222, allocations: 21.78 MB / 1.537 GB, free: 8.988 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.264292760999524]