Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005227/0.005227, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001082/0.001082, allocations: 191.1 kB / 16.67 MB, free: 5.973 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 64.12 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3842, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03254/0.4168, allocations: 29.33 MB / 1.236 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.4279, allocations: 6.877 MB / 1.243 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.4299, allocations: 47.69 kB / 1.243 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.432, allocations: 0.6953 MB / 1.244 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.4366, allocations: 1.46 MB / 1.245 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.44, allocations: 1.15 MB / 1.246 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8076/1.248, allocations: 2.475 MB / 1.249 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/1.25, allocations: 0.7882 MB / 1.25 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/1.253, allocations: 1.042 MB / 1.251 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/1.255, allocations: 0.8157 MB / 1.251 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/1.256, allocations: 66.53 kB / 1.251 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/1.258, allocations: 0.8221 MB / 1.252 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/1.259, allocations: 276.2 kB / 1.253 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007496/1.26, allocations: 0.5524 MB / 1.253 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/1.263, allocations: 1.61 MB / 1.255 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.263, allocations: 0 / 1.255 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.263, allocations: 2.531 kB / 1.255 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.5e-05/1.263, allocations: 0 / 1.255 GB, free: 5.281 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002785/1.266, allocations: 1.566 MB / 1.256 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.266, allocations: 12.66 kB / 1.256 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/1.269, allocations: 0.5882 MB / 1.257 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/1.271, allocations: 0.873 MB / 1.258 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/1.271, allocations: 56.08 kB / 1.258 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.271, allocations: 69.59 kB / 1.258 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/1.274, allocations: 1.105 MB / 1.259 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.274, allocations: 5.688 kB / 1.259 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/1.274, allocations: 30.95 kB / 1.259 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.274, allocations: 21.86 kB / 1.259 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/1.277, allocations: 0.9996 MB / 1.26 GB, free: 3.617 MB / 0.9981 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.006138/1.283, allocations: 4.932 MB / 1.265 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/1.287, allocations: 0.9043 MB / 1.266 GB, free: 464 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/1.288, allocations: 487.2 kB / 1.266 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/1.29, allocations: 1.589 MB / 1.268 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/1.292, allocations: 0.5773 MB / 1.268 GB, free: 14.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 3.767e-06/1.292, allocations: 0 / 1.268 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.005761/1.298, allocations: 1.482 MB / 1.27 GB, free: 14.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/1.298, allocations: 59.05 kB / 1.27 GB, free: 14.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/1.3, allocations: 1.113 MB / 1.271 GB, free: 14.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.3, allocations: 42.77 kB / 1.271 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/1.301, allocations: 0.5492 MB / 1.271 GB, free: 13.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/1.301, allocations: 210.3 kB / 1.272 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/1.301, allocations: 169.5 kB / 1.272 GB, free: 13.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.301, allocations: 339.1 kB / 1.272 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/1.303, allocations: 446.4 kB / 1.272 GB, free: 13.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/1.305, allocations: 0.7129 MB / 1.273 GB, free: 13.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/1.308, allocations: 1.12 MB / 1.274 GB, free: 12.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.308, allocations: 2.594 kB / 1.274 GB, free: 12.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004163/1.312, allocations: 1.27 MB / 1.275 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/1.312, allocations: 19.08 kB / 1.275 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.313, allocations: 7.25 kB / 1.275 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.671e-05/1.313, allocations: 12.59 kB / 1.275 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.314, allocations: 272 kB / 1.276 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/1.314, allocations: 17.45 kB / 1.276 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.316, allocations: 176.7 kB / 1.276 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.316, allocations: 43.34 kB / 1.276 GB, free: 12.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0008021/1.316, allocations: 297 kB / 1.276 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/1.317, allocations: 123.2 kB / 1.276 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004438/1.321, allocations: 1.362 MB / 1.278 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/1.321, allocations: 9.875 kB / 1.278 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.321, allocations: 3.938 kB / 1.278 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.321, allocations: 5.422 kB / 1.278 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/1.327, allocations: 2.371 MB / 1.28 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.327, allocations: 2.219 kB / 1.28 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/1.328, allocations: 188.3 kB / 1.28 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/1.328, allocations: 5.203 kB / 1.28 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/1.328, allocations: 27.33 kB / 1.28 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/1.328, allocations: 4.938 kB / 1.28 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/1.328, allocations: 9.625 kB / 1.28 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006253/1.335, allocations: 1.968 MB / 1.282 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008163/1.336, allocations: 277.3 kB / 1.282 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.336, allocations: 18.75 kB / 1.282 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009767/1.337, allocations: 105.9 kB / 1.283 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.337, allocations: 55.62 kB / 1.283 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.337, allocations: 35.73 kB / 1.283 GB, free: 11.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001587/1.339, allocations: 0.7613 MB / 1.283 GB, free: 11.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.339, allocations: 5.125 kB / 1.283 GB, free: 11.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001651/1.34, allocations: 341.7 kB / 1.284 GB, free: 11.33 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001901/1.342, allocations: 0.653 MB / 1.284 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00407/1.346, allocations: 1.117 MB / 1.285 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.346, allocations: 1.156 kB / 1.285 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/1.348, allocations: 0.5757 MB / 1.286 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.351, allocations: 457.9 kB / 1.286 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/1.356, allocations: 2.331 MB / 1.289 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009705/1.357, allocations: 1.108 MB / 1.29 GB, free: 9.383 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001551/1.359, allocations: 245.3 kB / 1.29 GB, free: 9.309 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/1.359, allocations: 105.1 kB / 1.29 GB, free: 9.301 MB / 1.014 GB Notification: Performance of SimCode: time 1.352e-06/1.359, allocations: 0 / 1.29 GB, free: 9.301 MB / 1.014 GB Notification: Performance of Templates: time 0.04578/1.405, allocations: 20.02 MB / 1.31 GB, free: 4.879 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches