Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001476/0.001476, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 482.4 MB / 0.7553 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001868, allocations: 71.77 kB / 0.9245 GB, free: 28 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8793/0.8811, allocations: 162.2 MB / 1.083 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2878/1.169, allocations: 241.7 MB / 1.319 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01461/1.184, allocations: 8.415 MB / 1.327 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/1.187, allocations: 71.5 kB / 1.327 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003274/1.19, allocations: 1.045 MB / 1.328 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00881/1.199, allocations: 3.072 MB / 1.331 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.009136/1.208, allocations: 3.521 MB / 1.335 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005933/1.214, allocations: 3.886 MB / 1.338 GB, free: 8.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/1.216, allocations: 1.345 MB / 1.34 GB, free: 7.031 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/1.222, allocations: 2.184 MB / 1.342 GB, free: 4.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/1.224, allocations: 1.358 MB / 1.343 GB, free: 3.477 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003464/1.225, allocations: 128 kB / 1.343 GB, free: 3.352 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007865/1.232, allocations: 3.924 MB / 1.347 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000929/1.233, allocations: 0.5919 MB / 1.348 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/1.235, allocations: 0.983 MB / 1.349 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007908/1.243, allocations: 3.821 MB / 1.352 GB, free: 10 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.243, allocations: 0 / 1.352 GB, free: 10 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.324e-06/1.243, allocations: 0 / 1.352 GB, free: 10 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.953e-05/1.243, allocations: 4 kB / 1.352 GB, free: 10 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006455/1.249, allocations: 2.632 MB / 1.355 GB, free: 7.301 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.249, allocations: 12.03 kB / 1.355 GB, free: 7.289 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007469/1.257, allocations: 1.129 MB / 1.356 GB, free: 6.156 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/1.259, allocations: 1.16 MB / 1.357 GB, free: 4.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.26, allocations: 110.5 kB / 1.357 GB, free: 4.832 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/1.26, allocations: 136 kB / 1.358 GB, free: 4.699 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/1.264, allocations: 1.959 MB / 1.359 GB, free: 2.613 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/1.264, allocations: 0 / 1.359 GB, free: 2.613 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/1.264, allocations: 56 kB / 1.36 GB, free: 2.559 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.631e-05/1.264, allocations: 58.34 kB / 1.36 GB, free: 2.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/1.269, allocations: 1.89 MB / 1.361 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/1.281, allocations: 8.697 MB / 1.37 GB, free: 7.324 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/1.285, allocations: 1.51 MB / 1.371 GB, free: 5.801 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/1.287, allocations: 0.7954 MB / 1.372 GB, free: 5.008 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/1.288, allocations: 0.9492 MB / 1.373 GB, free: 3.875 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002169/1.29, allocations: 0.8793 MB / 1.374 GB, free: 2.977 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 3.597e-06/1.29, allocations: 3.938 kB / 1.374 GB, free: 2.973 MB / 1.092 GB Notification: Performance of matching and sorting (n=106): time 0.006937/1.297, allocations: 2.386 MB / 1.376 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.298, allocations: 60.41 kB / 1.376 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/1.3, allocations: 1.713 MB / 1.378 GB, free: 14.75 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.3, allocations: 45.7 kB / 1.378 GB, free: 14.7 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/1.301, allocations: 0.8157 MB / 1.379 GB, free: 13.88 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/1.301, allocations: 378.7 kB / 1.379 GB, free: 13.5 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/1.302, allocations: 238.7 kB / 1.379 GB, free: 13.27 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.302, allocations: 353.9 kB / 1.38 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/1.304, allocations: 0.67 MB / 1.38 GB, free: 12.24 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/1.306, allocations: 1.057 MB / 1.381 GB, free: 11.03 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/1.31, allocations: 1.714 MB / 1.383 GB, free: 9.176 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.31, allocations: 11.94 kB / 1.383 GB, free: 9.164 MB / 1.107 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005812/1.316, allocations: 1.916 MB / 1.385 GB, free: 7.234 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.316, allocations: 9 kB / 1.385 GB, free: 7.227 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/1.316, allocations: 15.94 kB / 1.385 GB, free: 7.211 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/1.316, allocations: 23.98 kB / 1.385 GB, free: 7.188 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1.318, allocations: 359.5 kB / 1.385 GB, free: 6.836 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/1.318, allocations: 23.88 kB / 1.385 GB, free: 6.812 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/1.32, allocations: 246.2 kB / 1.386 GB, free: 6.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.32, allocations: 67.97 kB / 1.386 GB, free: 6.504 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0007296/1.321, allocations: 399.5 kB / 1.386 GB, free: 6.102 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/1.321, allocations: 189.7 kB / 1.386 GB, free: 5.914 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/1.326, allocations: 1.821 MB / 1.388 GB, free: 4.086 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.326, allocations: 11.98 kB / 1.388 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.326, allocations: 0 / 1.388 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.326, allocations: 3.984 kB / 1.388 GB, free: 4.07 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008786/1.335, allocations: 3.976 MB / 1.392 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.335, allocations: 8 kB / 1.392 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.336, allocations: 268.1 kB / 1.392 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/1.336, allocations: 12 kB / 1.392 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.337, allocations: 43.91 kB / 1.392 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/1.337, allocations: 19.88 kB / 1.392 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/1.337, allocations: 11.94 kB / 1.392 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007216/1.344, allocations: 2.91 MB / 1.395 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008949/1.345, allocations: 390.4 kB / 1.396 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/1.345, allocations: 39.92 kB / 1.396 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.346, allocations: 119.9 kB / 1.396 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/1.347, allocations: 84.44 kB / 1.396 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.347, allocations: 51.97 kB / 1.396 GB, free: 11.87 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001807/1.349, allocations: 1.167 MB / 1.397 GB, free: 10.68 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.349, allocations: 0 / 1.397 GB, free: 10.68 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001475/1.35, allocations: 459.5 kB / 1.397 GB, free: 10.23 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/1.352, allocations: 0.5969 MB / 1.398 GB, free: 9.793 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005044/1.357, allocations: 1.78 MB / 1.4 GB, free: 8.016 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.357, allocations: 0 / 1.4 GB, free: 8.016 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.359, allocations: 0.8094 MB / 1.4 GB, free: 7.207 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/1.364, allocations: 0.9835 MB / 1.401 GB, free: 6.242 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/1.371, allocations: 3.461 MB / 1.405 GB, free: 2.66 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.372, allocations: 1.361 MB / 1.406 GB, free: 1.27 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/1.373, allocations: 167.4 kB / 1.406 GB, free: 1.105 MB / 1.123 GB Notification: Performance of SimCode: time 9.22e-07/1.373, allocations: 4 kB / 1.406 GB, free: 1.102 MB / 1.123 GB Notification: Performance of Templates: time 0.05344/1.426, allocations: 29.83 MB / 1.435 GB, free: 3.512 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches