Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_TSetOnly,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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,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_9_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.001387/0.001387, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.0014/0.001401, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9096/0.9111, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2362/1.147, allocations: 193.8 MB / 1.278 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009033/1.156, allocations: 5.156 MB / 1.283 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/1.158, allocations: 51.62 kB / 1.283 GB, free: 6.586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/1.159, allocations: 0.8042 MB / 1.284 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006195/1.166, allocations: 2.606 MB / 1.286 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/1.168, allocations: 1.111 MB / 1.287 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003136/1.171, allocations: 2.598 MB / 1.29 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.173, allocations: 0.8901 MB / 1.291 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/1.175, allocations: 1.109 MB / 1.292 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/1.176, allocations: 0.9612 MB / 1.293 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/1.176, allocations: 80 kB / 1.293 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/1.179, allocations: 1.785 MB / 1.295 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003919/1.18, allocations: 438.6 kB / 1.295 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005945/1.18, allocations: 0.6487 MB / 1.296 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/1.183, allocations: 2.165 MB / 1.298 GB, free: 7.348 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.183, allocations: 0 / 1.298 GB, free: 7.348 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/1.183, allocations: 0 / 1.298 GB, free: 7.348 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.717e-05/1.183, allocations: 0 / 1.298 GB, free: 7.348 MB / 1.029 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.00461/1.188, allocations: 1.93 MB / 1.3 GB, free: 5.363 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.188, allocations: 8.031 kB / 1.3 GB, free: 5.355 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/1.192, allocations: 0.7044 MB / 1.3 GB, free: 4.648 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/1.194, allocations: 0.9605 MB / 1.301 GB, free: 3.629 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/1.194, allocations: 65.98 kB / 1.301 GB, free: 3.566 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/1.194, allocations: 95.92 kB / 1.302 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/1.197, allocations: 1.461 MB / 1.303 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.197, allocations: 3.938 kB / 1.303 GB, free: 1.949 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.197, allocations: 32 kB / 1.303 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/1.197, allocations: 49.98 kB / 1.303 GB, free: 1.871 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/1.201, allocations: 1.561 MB / 1.305 GB, free: 312 kB / 1.029 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.006034/1.207, allocations: 5.007 MB / 1.309 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/1.21, allocations: 1.18 MB / 1.311 GB, free: 9.844 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/1.212, allocations: 0.6675 MB / 1.311 GB, free: 9.176 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/1.213, allocations: 0.9448 MB / 1.312 GB, free: 8.047 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/1.215, allocations: 0.7225 MB / 1.313 GB, free: 7.309 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/1.215, allocations: 0 / 1.313 GB, free: 7.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.005894/1.221, allocations: 1.956 MB / 1.315 GB, free: 5.348 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.221, allocations: 64 kB / 1.315 GB, free: 5.273 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.223, allocations: 1.272 MB / 1.316 GB, free: 3.996 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-05/1.223, allocations: 45.7 kB / 1.316 GB, free: 3.945 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/1.223, allocations: 0.5638 MB / 1.317 GB, free: 3.375 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/1.223, allocations: 280.1 kB / 1.317 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/1.224, allocations: 178.5 kB / 1.317 GB, free: 2.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.224, allocations: 353.9 kB / 1.317 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/1.225, allocations: 0.5523 MB / 1.318 GB, free: 2.012 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/1.227, allocations: 0.8208 MB / 1.319 GB, free: 1.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/1.231, allocations: 1.34 MB / 1.32 GB, free: 15.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.231, allocations: 4 kB / 1.32 GB, free: 15.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003873/1.234, allocations: 1.518 MB / 1.322 GB, free: 14.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.234, allocations: 10.5 kB / 1.322 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.234, allocations: 4 kB / 1.322 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/1.234, allocations: 12 kB / 1.322 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.236, allocations: 292.1 kB / 1.322 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/1.236, allocations: 19.92 kB / 1.322 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.237, allocations: 194.8 kB / 1.322 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-05/1.237, allocations: 55.91 kB / 1.322 GB, free: 13.55 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005458/1.238, allocations: 347.5 kB / 1.322 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/1.238, allocations: 134.3 kB / 1.323 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/1.242, allocations: 1.444 MB / 1.324 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.242, allocations: 8 kB / 1.324 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.242, allocations: 4 kB / 1.324 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.242, allocations: 7.984 kB / 1.324 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005655/1.248, allocations: 2.854 MB / 1.327 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.248, allocations: 4.5 kB / 1.327 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.249, allocations: 235.6 kB / 1.327 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/1.249, allocations: 8 kB / 1.327 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/1.249, allocations: 27.97 kB / 1.327 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/1.249, allocations: 8 kB / 1.327 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.249, allocations: 4 kB / 1.327 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/1.255, allocations: 2.318 MB / 1.329 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/1.255, allocations: 299.2 kB / 1.33 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.255, allocations: 28 kB / 1.33 GB, free: 5.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.257, allocations: 107.9 kB / 1.33 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.257, allocations: 64.36 kB / 1.33 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/1.257, allocations: 39.97 kB / 1.33 GB, free: 5.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001034/1.258, allocations: 0.8723 MB / 1.331 GB, free: 4.535 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.81e-07/1.258, allocations: 4 kB / 1.331 GB, free: 4.531 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009688/1.259, allocations: 311.8 kB / 1.331 GB, free: 4.227 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.001218/1.26, allocations: 0.5313 MB / 1.332 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003681/1.264, allocations: 1.319 MB / 1.333 GB, free: 2.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.264, allocations: 4 kB / 1.333 GB, free: 2.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.266, allocations: 0.656 MB / 1.333 GB, free: 1.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.268, allocations: 0.6302 MB / 1.334 GB, free: 1.266 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/1.273, allocations: 2.63 MB / 1.337 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/1.274, allocations: 1.171 MB / 1.338 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/1.274, allocations: 127.4 kB / 1.338 GB, free: 13.22 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.274, allocations: 0 / 1.338 GB, free: 13.22 MB / 1.076 GB Notification: Performance of Templates: time 0.0287/1.303, allocations: 21.03 MB / 1.358 GB, free: 8.367 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches