Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|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.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|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.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001349/0.001349, allocations: 187 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.84 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9267/0.9282, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2111/1.139, allocations: 193.8 MB / 1.398 GB, free: 11.06 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009404/1.149, allocations: 5.142 MB / 1.403 GB, free: 5.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/1.15, allocations: 51.62 kB / 1.403 GB, free: 5.859 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/1.152, allocations: 0.8119 MB / 1.404 GB, free: 5.043 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006545/1.159, allocations: 2.602 MB / 1.406 GB, free: 2.43 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/1.162, allocations: 1.117 MB / 1.407 GB, free: 1.32 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003699/1.166, allocations: 2.664 MB / 1.41 GB, free: 14.65 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/1.167, allocations: 0.9541 MB / 1.411 GB, free: 13.68 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/1.17, allocations: 1.137 MB / 1.412 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/1.172, allocations: 0.9846 MB / 1.413 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003519/1.172, allocations: 84 kB / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/1.176, allocations: 1.796 MB / 1.415 GB, free: 9.672 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006391/1.177, allocations: 446.6 kB / 1.415 GB, free: 9.234 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/1.178, allocations: 0.6721 MB / 1.416 GB, free: 8.559 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/1.182, allocations: 2.212 MB / 1.418 GB, free: 6.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.182, allocations: 0 / 1.418 GB, free: 6.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.603e-06/1.182, allocations: 4 kB / 1.418 GB, free: 6.336 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.181e-05/1.182, allocations: 0 / 1.418 GB, free: 6.336 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006022/1.188, allocations: 1.949 MB / 1.42 GB, free: 4.328 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.188, allocations: 12.03 kB / 1.42 GB, free: 4.316 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/1.194, allocations: 0.8955 MB / 1.421 GB, free: 3.418 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/1.197, allocations: 0.9683 MB / 1.422 GB, free: 2.395 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/1.197, allocations: 69.98 kB / 1.422 GB, free: 2.324 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/1.197, allocations: 99.89 kB / 1.422 GB, free: 2.227 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/1.201, allocations: 1.575 MB / 1.423 GB, free: 0.6211 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.201, allocations: 4 kB / 1.423 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.201, allocations: 39.98 kB / 1.423 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/1.201, allocations: 45.98 kB / 1.423 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/1.207, allocations: 1.85 MB / 1.425 GB, free: 14.68 MB / 1.154 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.008767/1.216, allocations: 4.734 MB / 1.43 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004638/1.22, allocations: 1.561 MB / 1.431 GB, free: 8.145 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/1.223, allocations: 0.8546 MB / 1.432 GB, free: 7.289 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/1.224, allocations: 0.9413 MB / 1.433 GB, free: 6.16 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002693/1.227, allocations: 0.9066 MB / 1.434 GB, free: 5.238 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 3.557e-06/1.227, allocations: 0 / 1.434 GB, free: 5.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.008114/1.235, allocations: 2.462 MB / 1.436 GB, free: 2.773 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.235, allocations: 64.41 kB / 1.436 GB, free: 2.695 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.237, allocations: 1.197 MB / 1.438 GB, free: 1.488 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/1.237, allocations: 49.7 kB / 1.438 GB, free: 1.434 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/1.237, allocations: 0.5408 MB / 1.438 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/1.238, allocations: 323.4 kB / 1.439 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/1.238, allocations: 186.6 kB / 1.439 GB, free: 388 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.238, allocations: 341.9 kB / 1.439 GB, free: 40 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/1.241, allocations: 0.7044 MB / 1.44 GB, free: 15.34 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/1.243, allocations: 0.9074 MB / 1.441 GB, free: 14.36 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/1.248, allocations: 1.554 MB / 1.442 GB, free: 12.75 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.248, allocations: 3.938 kB / 1.442 GB, free: 12.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005643/1.253, allocations: 1.78 MB / 1.444 GB, free: 10.95 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/1.253, allocations: 10.03 kB / 1.444 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.253, allocations: 4 kB / 1.444 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/1.253, allocations: 8 kB / 1.444 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/1.255, allocations: 343.9 kB / 1.444 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.255, allocations: 15.98 kB / 1.444 GB, free: 10.58 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.257, allocations: 234.6 kB / 1.444 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.257, allocations: 51.91 kB / 1.445 GB, free: 10.3 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006307/1.258, allocations: 339.7 kB / 1.445 GB, free: 9.961 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/1.258, allocations: 130.4 kB / 1.445 GB, free: 9.832 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005287/1.264, allocations: 1.815 MB / 1.447 GB, free: 8.012 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.264, allocations: 12 kB / 1.447 GB, free: 8 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.264, allocations: 0 / 1.447 GB, free: 8 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.264, allocations: 3.984 kB / 1.447 GB, free: 7.996 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007678/1.271, allocations: 3.332 MB / 1.45 GB, free: 4.559 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.271, allocations: 4 kB / 1.45 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.273, allocations: 296 kB / 1.45 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/1.273, allocations: 8 kB / 1.45 GB, free: 4.258 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.273, allocations: 35.97 kB / 1.45 GB, free: 4.223 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/1.273, allocations: 8 kB / 1.45 GB, free: 4.215 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.273, allocations: 7.938 kB / 1.45 GB, free: 4.207 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007638/1.281, allocations: 2.843 MB / 1.453 GB, free: 1.301 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/1.282, allocations: 323.2 kB / 1.453 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/1.282, allocations: 27.98 kB / 1.453 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.284, allocations: 155.8 kB / 1.454 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.284, allocations: 68.45 kB / 1.454 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-05/1.284, allocations: 39.97 kB / 1.454 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001206/1.285, allocations: 0.8392 MB / 1.455 GB, free: 15.84 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.285, allocations: 0 / 1.455 GB, free: 15.84 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00122/1.286, allocations: 339.6 kB / 1.455 GB, free: 15.5 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * 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.001416/1.288, allocations: 0.5335 MB / 1.455 GB, free: 15.13 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005089/1.293, allocations: 1.626 MB / 1.457 GB, free: 13.5 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.293, allocations: 4.25 kB / 1.457 GB, free: 13.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002503/1.295, allocations: 0.8396 MB / 1.458 GB, free: 12.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/1.299, allocations: 0.607 MB / 1.458 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/1.305, allocations: 3.041 MB / 1.461 GB, free: 8.926 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/1.306, allocations: 1.175 MB / 1.462 GB, free: 7.719 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007229/1.307, allocations: 135.3 kB / 1.463 GB, free: 7.59 MB / 1.186 GB Notification: Performance of SimCode: time 6.81e-07/1.307, allocations: 4 kB / 1.463 GB, free: 7.586 MB / 1.186 GB Notification: Performance of Templates: time 0.03293/1.339, allocations: 21.73 MB / 1.484 GB, free: 1.996 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches