Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001947/0.001946, allocations: 114.9 kB / 16.42 MB, free: 6.516 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.002581/0.002581, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.349/2.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.191/5.191, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 59.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951/1.954, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.4184/2.372, allocations: 176.2 MB / 1.38 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0535/2.426, allocations: 15.65 MB / 1.396 GB, free: 13.1 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004201/2.43, allocations: 31.81 kB / 1.396 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/2.434, allocations: 0.6128 MB / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01869/2.453, allocations: 1.581 MB / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/2.468, allocations: 1.669 MB / 1.4 GB, free: 9.207 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009076/2.477, allocations: 2.918 MB / 1.402 GB, free: 6.277 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006843/2.484, allocations: 1.856 MB / 1.404 GB, free: 4.367 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008193/2.492, allocations: 1.39 MB / 1.406 GB, free: 3.008 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003723/2.496, allocations: 1.042 MB / 1.407 GB, free: 1.961 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/2.497, allocations: 200 kB / 1.407 GB, free: 1.766 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006582/2.504, allocations: 1.341 MB / 1.408 GB, free: 432 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001662/2.506, allocations: 0.5647 MB / 1.409 GB, free: 15.86 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003945/2.51, allocations: 1.034 MB / 1.41 GB, free: 14.82 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/2.525, allocations: 3.01 MB / 1.413 GB, free: 11.8 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/2.525, allocations: 0 / 1.413 GB, free: 11.8 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.933e-06/2.525, allocations: 0 / 1.413 GB, free: 11.8 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001718/2.525, allocations: 4 kB / 1.413 GB, free: 11.79 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.01624/2.541, allocations: 2.314 MB / 1.415 GB, free: 9.414 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 8.458e-05/2.541, allocations: 8.031 kB / 1.415 GB, free: 9.406 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006417/2.548, allocations: 465.1 kB / 1.415 GB, free: 8.949 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/2.553, allocations: 1.128 MB / 1.416 GB, free: 7.777 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/2.553, allocations: 127.2 kB / 1.417 GB, free: 7.652 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007384/2.554, allocations: 160 kB / 1.417 GB, free: 7.496 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007846/2.562, allocations: 1.78 MB / 1.418 GB, free: 5.637 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.762e-05/2.562, allocations: 3.906 kB / 1.418 GB, free: 5.633 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/2.563, allocations: 75.94 kB / 1.418 GB, free: 5.559 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/2.563, allocations: 43.98 kB / 1.419 GB, free: 5.516 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/2.57, allocations: 1.772 MB / 1.42 GB, free: 3.738 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.02892/2.599, allocations: 6.145 MB / 1.426 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009939/2.609, allocations: 1.561 MB / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/2.611, allocations: 0.5582 MB / 1.428 GB, free: 11.05 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/2.613, allocations: 0.8905 MB / 1.429 GB, free: 9.973 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003281/2.616, allocations: 0.7933 MB / 1.43 GB, free: 9.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 1.231e-05/2.616, allocations: 0 / 1.43 GB, free: 9.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=126): time 0.01357/2.63, allocations: 1.891 MB / 1.432 GB, free: 7.242 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/2.63, allocations: 200.9 kB / 1.432 GB, free: 7.004 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/2.633, allocations: 0.9833 MB / 1.433 GB, free: 6.004 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003651/2.634, allocations: 49.7 kB / 1.433 GB, free: 5.949 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/2.635, allocations: 0.6605 MB / 1.434 GB, free: 5.277 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009389/2.636, allocations: 417.9 kB / 1.434 GB, free: 4.863 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008548/2.637, allocations: 230.8 kB / 1.434 GB, free: 4.633 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002508/2.637, allocations: 349.9 kB / 1.435 GB, free: 4.285 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/2.639, allocations: 446.4 kB / 1.435 GB, free: 3.848 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/2.641, allocations: 0.6058 MB / 1.436 GB, free: 3.207 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/2.645, allocations: 1.035 MB / 1.437 GB, free: 2.148 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/2.645, allocations: 0 / 1.437 GB, free: 2.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.005486/2.65, allocations: 1.355 MB / 1.438 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/2.65, allocations: 4 kB / 1.438 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/2.65, allocations: 7.984 kB / 1.438 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/2.652, allocations: 80.94 kB / 1.438 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/2.654, allocations: 303.6 kB / 1.438 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/2.658, allocations: 1.642 MB / 1.44 GB, free: 14.6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/2.66, allocations: 150.7 kB / 1.44 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/2.661, allocations: 51.97 kB / 1.44 GB, free: 14.4 MB / 1.17 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.001646/2.662, allocations: 379.5 kB / 1.44 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00089/2.663, allocations: 138.4 kB / 1.441 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007989/2.671, allocations: 1.602 MB / 1.442 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.354e-05/2.671, allocations: 7.969 kB / 1.442 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/2.671, allocations: 0 / 1.442 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/2.673, allocations: 399 kB / 1.443 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005878/2.674, allocations: 24 kB / 1.443 GB, free: 11.83 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/2.676, allocations: 91.91 kB / 1.443 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/2.676, allocations: 93.12 kB / 1.443 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006227/2.682, allocations: 1.494 MB / 1.444 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007627/2.69, allocations: 2.202 MB / 1.446 GB, free: 7.922 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001915/2.692, allocations: 0.5725 MB / 1.447 GB, free: 7.352 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002232/2.694, allocations: 0.6917 MB / 1.448 GB, free: 6.652 MB / 1.17 GB Notification: Performance of Backend: time 3.868e-06/2.694, allocations: 3.938 kB / 1.448 GB, free: 6.648 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01008/2.705, allocations: 1.734 MB / 1.449 GB, free: 5.141 MB / 1.17 GB Notification: Performance of SimCode: time 0.01182/2.716, allocations: 3.27 MB / 1.453 GB, free: 1.84 MB / 1.17 GB Notification: Performance of Templates: time 0.1248/2.841, allocations: 30.46 MB / 1.482 GB, free: 3.664 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches