Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001086/0.001086, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 68.11 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6825, allocations: 151.6 MB / 1.167 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1884/0.8709, allocations: 193.8 MB / 1.357 GB, free: 1.461 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008391/0.8794, allocations: 5.139 MB / 1.362 GB, free: 12.31 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.8804, allocations: 47.69 kB / 1.362 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.8823, allocations: 0.8315 MB / 1.363 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.888, allocations: 2.692 MB / 1.365 GB, free: 8.723 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.8906, allocations: 1.109 MB / 1.366 GB, free: 7.621 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.8937, allocations: 2.61 MB / 1.369 GB, free: 5.004 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.8951, allocations: 0.8883 MB / 1.37 GB, free: 4.102 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.8971, allocations: 1.129 MB / 1.371 GB, free: 2.969 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.8986, allocations: 0.9534 MB / 1.372 GB, free: 2.012 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.8989, allocations: 80 kB / 1.372 GB, free: 1.934 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.9022, allocations: 1.789 MB / 1.373 GB, free: 144 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005129/0.9027, allocations: 442.5 kB / 1.374 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008809/0.9036, allocations: 0.6371 MB / 1.375 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.9071, allocations: 2.16 MB / 1.377 GB, free: 12.9 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.9071, allocations: 0 / 1.377 GB, free: 12.9 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9071, allocations: 0 / 1.377 GB, free: 12.9 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.525e-05/0.9072, allocations: 4 kB / 1.377 GB, free: 12.89 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005145/0.9123, allocations: 1.978 MB / 1.379 GB, free: 10.86 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9124, allocations: 8.922 kB / 1.379 GB, free: 10.85 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.9164, allocations: 0.6701 MB / 1.379 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.9181, allocations: 0.9577 MB / 1.38 GB, free: 9.164 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.9182, allocations: 66 kB / 1.38 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.9184, allocations: 95.97 kB / 1.38 GB, free: 9.004 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.9215, allocations: 1.462 MB / 1.382 GB, free: 7.469 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.9216, allocations: 4 kB / 1.382 GB, free: 7.465 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.9217, allocations: 40 kB / 1.382 GB, free: 7.426 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.864e-05/0.9218, allocations: 49.92 kB / 1.382 GB, free: 7.375 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/0.9258, allocations: 1.514 MB / 1.383 GB, free: 5.863 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.007454/0.9333, allocations: 5.492 MB / 1.389 GB, free: 84 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.937, allocations: 1.293 MB / 1.39 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.9388, allocations: 0.6559 MB / 1.391 GB, free: 14.13 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009445/0.9397, allocations: 0.5812 MB / 1.391 GB, free: 13.44 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00189/0.9416, allocations: 0.7107 MB / 1.392 GB, free: 12.71 MB / 1.123 GB Notification: Performance of pre-optimization done (n=80): time 3.868e-06/0.9417, allocations: 0 / 1.392 GB, free: 12.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=80): time 0.005708/0.9474, allocations: 1.894 MB / 1.394 GB, free: 10.81 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.9474, allocations: 60.06 kB / 1.394 GB, free: 10.74 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.949, allocations: 1.235 MB / 1.395 GB, free: 9.496 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.442e-05/0.9491, allocations: 45.7 kB / 1.395 GB, free: 9.445 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.9496, allocations: 0.5878 MB / 1.396 GB, free: 8.852 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.9499, allocations: 297.5 kB / 1.396 GB, free: 8.559 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.9502, allocations: 174.6 kB / 1.396 GB, free: 8.383 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9503, allocations: 345.9 kB / 1.396 GB, free: 8.039 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.9519, allocations: 0.5406 MB / 1.397 GB, free: 7.496 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.9539, allocations: 0.8174 MB / 1.398 GB, free: 6.57 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/0.9573, allocations: 1.332 MB / 1.399 GB, free: 5.137 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.9574, allocations: 0 / 1.399 GB, free: 5.137 MB / 1.123 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004051/0.9614, allocations: 1.491 MB / 1.4 GB, free: 3.637 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.9615, allocations: 12.81 kB / 1.4 GB, free: 3.625 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.9615, allocations: 8 kB / 1.4 GB, free: 3.617 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.9615, allocations: 15.98 kB / 1.4 GB, free: 3.602 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.963, allocations: 299.5 kB / 1.401 GB, free: 3.309 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.963, allocations: 16.03 kB / 1.401 GB, free: 3.293 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.9645, allocations: 207 kB / 1.401 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.9646, allocations: 47.97 kB / 1.401 GB, free: 3.043 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005901/0.9652, allocations: 339.7 kB / 1.401 GB, free: 2.703 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.9655, allocations: 143 kB / 1.401 GB, free: 2.562 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.9695, allocations: 1.405 MB / 1.403 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.9695, allocations: 3.984 kB / 1.403 GB, free: 1.145 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9695, allocations: 0 / 1.403 GB, free: 1.145 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.9701, allocations: 303.9 kB / 1.403 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.9703, allocations: 16 kB / 1.403 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.9714, allocations: 107.9 kB / 1.403 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.9716, allocations: 52.58 kB / 1.403 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004605/0.9762, allocations: 1.418 MB / 1.405 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005503/0.9817, allocations: 2.221 MB / 1.407 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001616/0.9833, allocations: 0.5867 MB / 1.407 GB, free: 12.41 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001154/0.9845, allocations: 0.8483 MB / 1.408 GB, free: 11.56 MB / 1.139 GB Notification: Performance of Backend: time 4.31e-07/0.9845, allocations: 0 / 1.408 GB, free: 11.56 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004525/0.9891, allocations: 1.57 MB / 1.41 GB, free: 10.15 MB / 1.139 GB Notification: Performance of SimCode: time 0.004481/0.9936, allocations: 2.868 MB / 1.413 GB, free: 7.238 MB / 1.139 GB Notification: Performance of Templates: time 0.04247/1.036, allocations: 27.48 MB / 1.439 GB, free: 11.97 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches