Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001919/0.001919, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00163/0.00163, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 475.9 MB / 0.7699 GB, free: 4.809 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002055/0.002055, allocations: 67.36 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3719, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1855/0.5574, allocations: 135.9 MB / 1.416 GB, free: 3.535 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.5767, allocations: 9.945 MB / 1.425 GB, free: 9.559 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.578, allocations: 23.81 kB / 1.425 GB, free: 9.535 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.5795, allocations: 289.6 kB / 1.426 GB, free: 9.25 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.5837, allocations: 1.003 MB / 1.427 GB, free: 8.246 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.5873, allocations: 1.112 MB / 1.428 GB, free: 7.145 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003381/0.5907, allocations: 1.756 MB / 1.429 GB, free: 5.379 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.593, allocations: 0.9319 MB / 1.43 GB, free: 4.422 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.5959, allocations: 0.7639 MB / 1.431 GB, free: 3.668 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.5974, allocations: 0.5832 MB / 1.432 GB, free: 3.082 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004983/0.5979, allocations: 140 kB / 1.432 GB, free: 2.945 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.6014, allocations: 1.003 MB / 1.433 GB, free: 1.941 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007951/0.6022, allocations: 386.8 kB / 1.433 GB, free: 1.562 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.6037, allocations: 0.552 MB / 1.434 GB, free: 1.008 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006179/0.6099, allocations: 2.277 MB / 1.436 GB, free: 14.72 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6099, allocations: 8 kB / 1.436 GB, free: 14.71 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.318e-06/0.6099, allocations: 7.922 kB / 1.436 GB, free: 14.7 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.83e-05/0.6099, allocations: 0 / 1.436 GB, free: 14.7 MB / 1.139 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.004661/0.6146, allocations: 1.695 MB / 1.438 GB, free: 12.97 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6147, allocations: 8.031 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.6168, allocations: 322.8 kB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.6185, allocations: 0.8499 MB / 1.439 GB, free: 11.77 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.169e-05/0.6186, allocations: 70 kB / 1.439 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.6188, allocations: 103.9 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.6211, allocations: 1.482 MB / 1.44 GB, free: 9.98 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.6211, allocations: 7.938 kB / 1.44 GB, free: 9.973 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.6212, allocations: 40 kB / 1.44 GB, free: 9.934 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.6214, allocations: 24 kB / 1.44 GB, free: 9.91 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6238, allocations: 1.268 MB / 1.442 GB, free: 8.641 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/0.6295, allocations: 2.572 MB / 1.444 GB, free: 6.016 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.6317, allocations: 0.9692 MB / 1.445 GB, free: 5.043 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009404/0.6326, allocations: 392.8 kB / 1.446 GB, free: 4.656 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.6328, allocations: 52.95 kB / 1.446 GB, free: 4.602 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/0.6343, allocations: 0.8474 MB / 1.446 GB, free: 3.684 MB / 1.139 GB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.6343, allocations: 0 / 1.446 GB, free: 3.684 MB / 1.139 GB Notification: Performance of matching and sorting (n=95): time 0.00446/0.6388, allocations: 1.485 MB / 1.448 GB, free: 2.184 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.639, allocations: 192.9 kB / 1.448 GB, free: 1.953 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.6402, allocations: 0.7703 MB / 1.449 GB, free: 1.172 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.751e-05/0.6402, allocations: 49.7 kB / 1.449 GB, free: 1.117 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.6407, allocations: 481.1 kB / 1.449 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.641, allocations: 325.2 kB / 1.45 GB, free: 328 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.6413, allocations: 194.5 kB / 1.45 GB, free: 128 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.6415, allocations: 337.9 kB / 1.45 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007997/0.6423, allocations: 349.8 kB / 1.45 GB, free: 15.45 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.6435, allocations: 0.6789 MB / 1.451 GB, free: 14.7 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.6453, allocations: 0.7843 MB / 1.452 GB, free: 13.9 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6453, allocations: 0 / 1.452 GB, free: 13.9 MB / 1.154 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002818/0.6481, allocations: 1.088 MB / 1.453 GB, free: 12.8 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6482, allocations: 4 kB / 1.453 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6482, allocations: 4 kB / 1.453 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/0.649, allocations: 117.7 kB / 1.453 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009713/0.6499, allocations: 207.7 kB / 1.453 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.6541, allocations: 2.804 MB / 1.456 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.6551, allocations: 111.5 kB / 1.456 GB, free: 9.344 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.6552, allocations: 39.97 kB / 1.456 GB, free: 9.305 MB / 1.154 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.0007269/0.656, allocations: 311.3 kB / 1.456 GB, free: 8.992 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.6562, allocations: 103.3 kB / 1.457 GB, free: 8.891 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.6593, allocations: 1.31 MB / 1.458 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.6593, allocations: 12 kB / 1.458 GB, free: 7.551 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6593, allocations: 3.938 kB / 1.458 GB, free: 7.547 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.6593, allocations: 3.984 kB / 1.458 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.6641, allocations: 2.13 MB / 1.46 GB, free: 5.371 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.6641, allocations: 4 kB / 1.46 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009255/0.6651, allocations: 183.8 kB / 1.46 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005858/0.6656, allocations: 109.6 kB / 1.46 GB, free: 5.074 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.6657, allocations: 27.98 kB / 1.46 GB, free: 5.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.6691, allocations: 2.832 MB / 1.463 GB, free: 2 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6691, allocations: 0 / 1.463 GB, free: 2 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.6721, allocations: 1.237 MB / 1.464 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/0.6729, allocations: 246.9 kB / 1.464 GB, free: 0.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.673, allocations: 20 kB / 1.464 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.6738, allocations: 76.61 kB / 1.465 GB, free: 420 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.674, allocations: 84.83 kB / 1.465 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.6741, allocations: 43.97 kB / 1.465 GB, free: 288 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008025/0.6749, allocations: 0.5537 MB / 1.465 GB, free: 15.73 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6749, allocations: 0 / 1.465 GB, free: 15.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001505/0.6764, allocations: 466.9 kB / 1.466 GB, free: 15.27 MB / 1.17 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.002635/0.6791, allocations: 0.7364 MB / 1.466 GB, free: 14.74 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.6816, allocations: 1.107 MB / 1.467 GB, free: 13.61 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.6816, allocations: 8.062 kB / 1.467 GB, free: 13.61 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.6831, allocations: 0.698 MB / 1.468 GB, free: 12.88 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.6847, allocations: 361.3 kB / 1.468 GB, free: 12.55 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.6891, allocations: 2.067 MB / 1.47 GB, free: 10.46 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.6899, allocations: 0.5142 MB / 1.471 GB, free: 9.91 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001083/0.691, allocations: 299.4 kB / 1.471 GB, free: 9.613 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.6914, allocations: 127.2 kB / 1.471 GB, free: 9.488 MB / 1.17 GB Notification: Performance of SimCode: time 1.512e-06/0.6914, allocations: 4 kB / 1.471 GB, free: 9.484 MB / 1.17 GB Notification: Performance of Templates: time 0.0409/0.7323, allocations: 21.51 MB / 1.492 GB, free: 4.312 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.347183661535382]