Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001372/0.001373, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001318/0.001318, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.84 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7053, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1774/0.8828, allocations: 176.2 MB / 1.339 GB, free: 2.988 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.903, allocations: 15.66 MB / 1.355 GB, free: 3.273 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.9047, allocations: 31.81 kB / 1.355 GB, free: 3.242 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.9068, allocations: 0.6324 MB / 1.355 GB, free: 2.605 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.9118, allocations: 1.605 MB / 1.357 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.9163, allocations: 1.691 MB / 1.359 GB, free: 15.32 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004061/0.9204, allocations: 2.91 MB / 1.361 GB, free: 12.4 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.9232, allocations: 1.856 MB / 1.363 GB, free: 10.48 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.927, allocations: 1.421 MB / 1.365 GB, free: 9.094 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.9286, allocations: 1.039 MB / 1.366 GB, free: 8.051 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005437/0.9292, allocations: 200 kB / 1.366 GB, free: 7.855 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.9323, allocations: 1.341 MB / 1.367 GB, free: 6.512 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007827/0.9331, allocations: 0.5686 MB / 1.368 GB, free: 5.941 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.9349, allocations: 1.038 MB / 1.369 GB, free: 4.898 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004894/0.9398, allocations: 3.006 MB / 1.372 GB, free: 1.883 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.9398, allocations: 4 kB / 1.372 GB, free: 1.879 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9398, allocations: 4 kB / 1.372 GB, free: 1.875 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001035/0.9399, allocations: 0 / 1.372 GB, free: 1.875 MB / 1.092 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.005219/0.9451, allocations: 2.306 MB / 1.374 GB, free: 15.5 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.9452, allocations: 8.922 kB / 1.374 GB, free: 15.5 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.9485, allocations: 469.1 kB / 1.374 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.951, allocations: 1.124 MB / 1.375 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.9511, allocations: 127.2 kB / 1.376 GB, free: 13.74 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.9514, allocations: 156 kB / 1.376 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.9551, allocations: 1.78 MB / 1.377 GB, free: 11.73 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.9552, allocations: 11.84 kB / 1.377 GB, free: 11.71 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.9554, allocations: 75.98 kB / 1.377 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.593e-05/0.9554, allocations: 44 kB / 1.378 GB, free: 11.6 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.9587, allocations: 1.768 MB / 1.379 GB, free: 9.824 MB / 1.107 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.009445/0.9682, allocations: 6.149 MB / 1.385 GB, free: 3.312 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.9708, allocations: 1.553 MB / 1.387 GB, free: 1.703 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009613/0.9718, allocations: 0.5675 MB / 1.387 GB, free: 1.137 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008219/0.9726, allocations: 0.8866 MB / 1.388 GB, free: 64 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.9741, allocations: 0.7972 MB / 1.389 GB, free: 15.25 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 3.727e-06/0.9741, allocations: 0 / 1.389 GB, free: 15.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=126): time 0.004663/0.9787, allocations: 1.891 MB / 1.391 GB, free: 13.33 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.9788, allocations: 196.9 kB / 1.391 GB, free: 13.09 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.9803, allocations: 0.9872 MB / 1.392 GB, free: 12.09 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.9804, allocations: 49.7 kB / 1.392 GB, free: 12.04 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.9809, allocations: 0.6566 MB / 1.393 GB, free: 11.37 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.9813, allocations: 417.9 kB / 1.393 GB, free: 10.95 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.9816, allocations: 234.7 kB / 1.393 GB, free: 10.72 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9818, allocations: 357.9 kB / 1.394 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/0.9827, allocations: 450.4 kB / 1.394 GB, free: 9.922 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.9837, allocations: 0.6019 MB / 1.395 GB, free: 9.285 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.9856, allocations: 1.035 MB / 1.396 GB, free: 8.227 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9856, allocations: 0 / 1.396 GB, free: 8.227 MB / 1.123 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00297/0.9886, allocations: 1.351 MB / 1.397 GB, free: 6.863 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9886, allocations: 4 kB / 1.397 GB, free: 6.859 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9886, allocations: 7.984 kB / 1.397 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.9892, allocations: 76.94 kB / 1.397 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.9905, allocations: 295.6 kB / 1.397 GB, free: 6.484 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.9925, allocations: 1.648 MB / 1.399 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.9938, allocations: 146.9 kB / 1.399 GB, free: 4.551 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.9939, allocations: 47.97 kB / 1.399 GB, free: 4.504 MB / 1.123 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.0007338/0.9946, allocations: 387.4 kB / 1.399 GB, free: 4.117 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.9951, allocations: 134.4 kB / 1.4 GB, free: 3.984 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.9986, allocations: 1.606 MB / 1.401 GB, free: 2.367 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.9986, allocations: 11.91 kB / 1.401 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9986, allocations: 0 / 1.401 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/0.9994, allocations: 399 kB / 1.402 GB, free: 1.945 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.9996, allocations: 28 kB / 1.402 GB, free: 1.918 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.001, allocations: 83.91 kB / 1.402 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/1.001, allocations: 93.12 kB / 1.402 GB, free: 1.742 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003465/1.004, allocations: 1.494 MB / 1.403 GB, free: 244 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003721/1.008, allocations: 2.206 MB / 1.405 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001001/1.009, allocations: 0.5725 MB / 1.406 GB, free: 13.45 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009864/1.01, allocations: 0.6878 MB / 1.407 GB, free: 12.75 MB / 1.139 GB Notification: Performance of Backend: time 5.61e-07/1.01, allocations: 0 / 1.407 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005203/1.015, allocations: 1.733 MB / 1.408 GB, free: 11.2 MB / 1.139 GB Notification: Performance of SimCode: time 0.005772/1.021, allocations: 3.269 MB / 1.412 GB, free: 7.887 MB / 1.139 GB Notification: Performance of Templates: time 0.04728/1.068, allocations: 29.95 MB / 1.441 GB, free: 10.17 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches