Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001391/0.001391, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001607/0.001607, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.797 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.819/2.819, allocations: 475.9 MB / 0.7699 GB, free: 4.793 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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") [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.002149/0.002149, allocations: 67.02 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3232, allocations: 169.9 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2091/0.5323, allocations: 155.4 MB / 1.435 GB, free: 24 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02457/0.5568, allocations: 14.66 MB / 1.449 GB, free: 1.312 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.5588, allocations: 39.69 kB / 1.449 GB, free: 1.273 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.561, allocations: 0.5973 MB / 1.45 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.5663, allocations: 1.628 MB / 1.451 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.5713, allocations: 1.724 MB / 1.453 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004454/0.5757, allocations: 2.937 MB / 1.456 GB, free: 10.38 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.5782, allocations: 1.451 MB / 1.457 GB, free: 8.867 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/0.5823, allocations: 1.467 MB / 1.459 GB, free: 7.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.5839, allocations: 0.9916 MB / 1.46 GB, free: 6.434 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003428/0.5842, allocations: 200 kB / 1.46 GB, free: 6.238 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.587, allocations: 1.232 MB / 1.461 GB, free: 5.004 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005785/0.5876, allocations: 0.584 MB / 1.462 GB, free: 4.418 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009913/0.5886, allocations: 0.8516 MB / 1.462 GB, free: 3.562 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004447/0.593, allocations: 3.082 MB / 1.465 GB, free: 480 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.593, allocations: 0 / 1.465 GB, free: 480 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.743e-06/0.593, allocations: 0 / 1.465 GB, free: 480 kB / 1.154 GB Notification: Performance of Transformations before backend: time 4.651e-05/0.5931, allocations: 0 / 1.465 GB, free: 480 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004575/0.5977, allocations: 2.313 MB / 1.468 GB, free: 14.1 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5977, allocations: 8.031 kB / 1.468 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.6014, allocations: 0.5216 MB / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.6036, allocations: 1.077 MB / 1.469 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.6037, allocations: 123.2 kB / 1.469 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.604, allocations: 160 kB / 1.47 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003652/0.6076, allocations: 2.421 MB / 1.472 GB, free: 9.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.6077, allocations: 4 kB / 1.472 GB, free: 9.516 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.6078, allocations: 68 kB / 1.472 GB, free: 9.449 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/0.6079, allocations: 47.98 kB / 1.472 GB, free: 9.402 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.6112, allocations: 1.717 MB / 1.474 GB, free: 7.68 MB / 1.17 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.008405/0.6196, allocations: 4.401 MB / 1.478 GB, free: 3.18 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.6224, allocations: 1.256 MB / 1.479 GB, free: 1.918 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.6235, allocations: 0.5128 MB / 1.48 GB, free: 1.406 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.6241, allocations: 132.9 kB / 1.48 GB, free: 1.277 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.626, allocations: 1.287 MB / 1.481 GB, free: 15.85 MB / 1.186 GB Notification: Performance of pre-optimization done (n=126): time 3.417e-06/0.626, allocations: 0 / 1.481 GB, free: 15.85 MB / 1.186 GB Notification: Performance of matching and sorting (n=126): time 0.005098/0.6311, allocations: 1.808 MB / 1.483 GB, free: 14.04 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.6312, allocations: 192.9 kB / 1.483 GB, free: 13.8 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.6324, allocations: 0.8373 MB / 1.484 GB, free: 12.94 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.6326, allocations: 53.7 kB / 1.484 GB, free: 12.88 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.6332, allocations: 0.6925 MB / 1.485 GB, free: 12.18 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.6337, allocations: 436.2 kB / 1.485 GB, free: 11.75 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.634, allocations: 238.8 kB / 1.485 GB, free: 11.51 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.6342, allocations: 353.9 kB / 1.486 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.6352, allocations: 446.4 kB / 1.486 GB, free: 10.72 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.6364, allocations: 0.8027 MB / 1.487 GB, free: 9.832 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.6385, allocations: 1.046 MB / 1.488 GB, free: 8.762 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6385, allocations: 0 / 1.488 GB, free: 8.762 MB / 1.186 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003223/0.6418, allocations: 1.34 MB / 1.489 GB, free: 7.41 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6418, allocations: 8 kB / 1.489 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.6418, allocations: 0 / 1.489 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.6424, allocations: 88.92 kB / 1.489 GB, free: 7.312 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.6438, allocations: 295.6 kB / 1.489 GB, free: 7.023 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.6461, allocations: 1.514 MB / 1.491 GB, free: 5.402 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6473, allocations: 135.3 kB / 1.491 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.6474, allocations: 47.97 kB / 1.491 GB, free: 5.223 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007853/0.6482, allocations: 379.3 kB / 1.491 GB, free: 4.844 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.6485, allocations: 131.2 kB / 1.492 GB, free: 4.715 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.6522, allocations: 1.597 MB / 1.493 GB, free: 3.109 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6522, allocations: 16 kB / 1.493 GB, free: 3.094 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6522, allocations: 0 / 1.493 GB, free: 3.094 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.6522, allocations: 7.969 kB / 1.493 GB, free: 3.086 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/0.6579, allocations: 2.747 MB / 1.496 GB, free: 304 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6579, allocations: 3.938 kB / 1.496 GB, free: 300 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.6592, allocations: 271.6 kB / 1.496 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/0.6596, allocations: 76.78 kB / 1.496 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/0.6597, allocations: 31.97 kB / 1.496 GB, free: 15.92 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.6618, allocations: 1.536 MB / 1.498 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6618, allocations: 0 / 1.498 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/0.6665, allocations: 2.174 MB / 1.5 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/0.6673, allocations: 310.7 kB / 1.5 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.6675, allocations: 31.98 kB / 1.5 GB, free: 11.74 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.6686, allocations: 88.11 kB / 1.5 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.6688, allocations: 105.1 kB / 1.5 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.6689, allocations: 55.91 kB / 1.5 GB, free: 11.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008871/0.6698, allocations: 0.5862 MB / 1.501 GB, free: 10.9 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6698, allocations: 0 / 1.501 GB, free: 10.9 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001486/0.6713, allocations: 0.5687 MB / 1.502 GB, free: 10.33 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/0.6737, allocations: 0.7444 MB / 1.502 GB, free: 9.793 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.6765, allocations: 1.232 MB / 1.503 GB, free: 8.547 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.6765, allocations: 4.438 kB / 1.503 GB, free: 8.543 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.678, allocations: 0.7089 MB / 1.504 GB, free: 7.824 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.6802, allocations: 0.4908 MB / 1.505 GB, free: 7.355 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.6861, allocations: 2.917 MB / 1.508 GB, free: 4.402 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/0.6871, allocations: 0.7294 MB / 1.508 GB, free: 3.637 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001576/0.6887, allocations: 417.6 kB / 1.509 GB, free: 3.227 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.6891, allocations: 155.4 kB / 1.509 GB, free: 3.074 MB / 1.201 GB Notification: Performance of SimCode: time 5.91e-07/0.6891, allocations: 0 / 1.509 GB, free: 3.074 MB / 1.201 GB Notification: Performance of Templates: time 0.04827/0.7374, allocations: 27.26 MB / 1.535 GB, free: 8.289 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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.526493933051825]