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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 114 kB / 16.81 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 196.7 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.53 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3069, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2061/0.513, allocations: 176.7 MB / 1.435 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.5358, allocations: 15.76 MB / 1.45 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.5375, allocations: 31.81 kB / 1.45 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.5396, allocations: 0.6323 MB / 1.451 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.5444, allocations: 1.613 MB / 1.452 GB, free: 9.453 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.5488, allocations: 1.704 MB / 1.454 GB, free: 7.758 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00422/0.5531, allocations: 2.91 MB / 1.457 GB, free: 4.832 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.5557, allocations: 1.512 MB / 1.458 GB, free: 3.258 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004417/0.5601, allocations: 1.445 MB / 1.46 GB, free: 1.844 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.5619, allocations: 1.062 MB / 1.461 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004851/0.5624, allocations: 204 kB / 1.461 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.5654, allocations: 1.372 MB / 1.462 GB, free: 15.2 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000722/0.5662, allocations: 0.5724 MB / 1.463 GB, free: 14.63 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.5678, allocations: 1.03 MB / 1.464 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004886/0.5726, allocations: 3.028 MB / 1.467 GB, free: 10.55 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5726, allocations: 4 kB / 1.467 GB, free: 10.55 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5727, allocations: 0 / 1.467 GB, free: 10.55 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.959e-05/0.5727, allocations: 0 / 1.467 GB, free: 10.55 MB / 1.186 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.004433/0.5771, allocations: 2.369 MB / 1.469 GB, free: 8.113 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5772, allocations: 8.031 kB / 1.469 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.5804, allocations: 474.3 kB / 1.47 GB, free: 7.641 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.5825, allocations: 1.141 MB / 1.471 GB, free: 6.453 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.5826, allocations: 123.2 kB / 1.471 GB, free: 6.332 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.5829, allocations: 164 kB / 1.471 GB, free: 6.172 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.5862, allocations: 1.788 MB / 1.473 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.5862, allocations: 0 / 1.473 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.5864, allocations: 72 kB / 1.473 GB, free: 4.234 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.5864, allocations: 55.86 kB / 1.473 GB, free: 4.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.5898, allocations: 1.768 MB / 1.475 GB, free: 2.406 MB / 1.186 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.009092/0.5989, allocations: 6.152 MB / 1.481 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.6017, allocations: 1.491 MB / 1.482 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.6028, allocations: 0.5152 MB / 1.482 GB, free: 9.824 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009959/0.6038, allocations: 0.8828 MB / 1.483 GB, free: 8.758 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/0.6053, allocations: 0.7934 MB / 1.484 GB, free: 7.949 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 3.436e-06/0.6053, allocations: 0 / 1.484 GB, free: 7.949 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.005005/0.6103, allocations: 1.895 MB / 1.486 GB, free: 6.023 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.6104, allocations: 204.8 kB / 1.486 GB, free: 5.781 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.6118, allocations: 0.9911 MB / 1.487 GB, free: 4.773 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6119, allocations: 49.7 kB / 1.487 GB, free: 4.719 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.6125, allocations: 0.6657 MB / 1.488 GB, free: 4.043 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.6129, allocations: 444.2 kB / 1.488 GB, free: 3.605 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.6133, allocations: 234.8 kB / 1.488 GB, free: 3.371 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6135, allocations: 349.9 kB / 1.489 GB, free: 3.023 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009864/0.6145, allocations: 446.4 kB / 1.489 GB, free: 2.586 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.6156, allocations: 0.6019 MB / 1.49 GB, free: 1.949 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.6177, allocations: 1.031 MB / 1.491 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6177, allocations: 4 kB / 1.491 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003271/0.621, allocations: 1.352 MB / 1.492 GB, free: 15.53 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.621, allocations: 8 kB / 1.492 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.621, allocations: 3.938 kB / 1.492 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.6216, allocations: 88.92 kB / 1.492 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.623, allocations: 291.6 kB / 1.493 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.6254, allocations: 1.651 MB / 1.494 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.6266, allocations: 149 kB / 1.494 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6267, allocations: 47.97 kB / 1.494 GB, free: 13.15 MB / 1.217 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.0007284/0.6274, allocations: 375.9 kB / 1.495 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.6277, allocations: 143.1 kB / 1.495 GB, free: 12.64 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.6315, allocations: 1.614 MB / 1.496 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.6315, allocations: 11.97 kB / 1.496 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6315, allocations: 0 / 1.496 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/0.6322, allocations: 403.7 kB / 1.497 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.6325, allocations: 27.95 kB / 1.497 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.6335, allocations: 79.92 kB / 1.497 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.6337, allocations: 105 kB / 1.497 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0037/0.6374, allocations: 1.494 MB / 1.498 GB, free: 8.871 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004067/0.6415, allocations: 2.21 MB / 1.501 GB, free: 6.648 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001052/0.6426, allocations: 0.5333 MB / 1.501 GB, free: 6.113 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001013/0.6436, allocations: 0.68 MB / 1.502 GB, free: 5.426 MB / 1.217 GB Notification: Performance of Backend: time 2.7e-07/0.6436, allocations: 3.938 kB / 1.502 GB, free: 5.422 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005417/0.649, allocations: 1.696 MB / 1.503 GB, free: 3.949 MB / 1.217 GB Notification: Performance of SimCode: time 0.005513/0.6545, allocations: 3.325 MB / 1.507 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of Templates: time 0.05562/0.7101, allocations: 30.5 MB / 1.536 GB, free: 2.367 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches