Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.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.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007179/0.007179, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.617/2.617, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005769/0.0005767, allocations: 11.98 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.002, allocations: 142.4 MB / 0.955 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.004104/1.007, allocations: 3.022 MB / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003082/1.01, allocations: 1.202 MB / 0.9592 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000805/1.011, allocations: 13.06 kB / 0.9592 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/1.011, allocations: 66.88 kB / 0.9592 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000798/1.012, allocations: 124 kB / 0.9594 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/1.013, allocations: 400.4 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001103/1.014, allocations: 0.8289 MB / 0.9605 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006771/1.015, allocations: 380.9 kB / 0.9609 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/1.015, allocations: 251.2 kB / 0.9611 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04599/1.061, allocations: 3.249 MB / 0.9643 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/1.061, allocations: 26.91 kB / 0.9643 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/1.062, allocations: 48.38 kB / 0.9644 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/1.062, allocations: 122 kB / 0.9645 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/1.062, allocations: 328 kB / 0.9648 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/1.063, allocations: 1.074 MB / 0.9659 GB, free: 368 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.063, allocations: 0 / 0.9659 GB, free: 368 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/1.063, allocations: 0 / 0.9659 GB, free: 368 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.449e-05/1.063, allocations: 0 / 0.9659 GB, free: 368 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002563/1.066, allocations: 1.021 MB / 0.9669 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.066, allocations: 13.27 kB / 0.9669 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/1.066, allocations: 88.94 kB / 0.967 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.067, allocations: 0.5261 MB / 0.9675 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.972e-05/1.067, allocations: 53 kB / 0.9675 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/1.068, allocations: 76.81 kB / 0.9676 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/1.069, allocations: 0.6412 MB / 0.9682 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.069, allocations: 0 / 0.9682 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/1.07, allocations: 30.7 kB / 0.9683 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/1.07, allocations: 16.5 kB / 0.9683 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/1.071, allocations: 0.5938 MB / 0.9688 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/1.075, allocations: 1.745 MB / 0.9706 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/1.077, allocations: 0.5101 MB / 0.9711 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/1.077, allocations: 282.7 kB / 0.9713 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/1.077, allocations: 6.906 kB / 0.9713 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007461/1.078, allocations: 312.7 kB / 0.9716 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=58): time 3.346e-06/1.078, allocations: 0 / 0.9716 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58): time 0.001923/1.08, allocations: 0.7197 MB / 0.9723 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/1.08, allocations: 58.69 kB / 0.9724 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/1.081, allocations: 0.4927 MB / 0.9729 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/1.081, allocations: 39.73 kB / 0.9729 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/1.081, allocations: 346.9 kB / 0.9732 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.082, allocations: 181 kB / 0.9734 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/1.082, allocations: 56.53 kB / 0.9735 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.082, allocations: 373.1 kB / 0.9738 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/1.082, allocations: 205.6 kB / 0.974 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007768/1.083, allocations: 414.2 kB / 0.9744 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.084, allocations: 0.5576 MB / 0.975 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.084, allocations: 9.062 kB / 0.975 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001553/1.086, allocations: 0.6601 MB / 0.9756 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/1.086, allocations: 204.3 kB / 0.9758 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.086, allocations: 4.281 kB / 0.9758 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/1.086, allocations: 6.938 kB / 0.9758 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/1.087, allocations: 146.4 kB / 0.976 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/1.087, allocations: 10.94 kB / 0.976 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/1.087, allocations: 99.08 kB / 0.9761 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/1.087, allocations: 23.81 kB / 0.9761 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.087, allocations: 8.562 kB / 0.9761 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/1.089, allocations: 0.5424 MB / 0.9766 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.089, allocations: 4.438 kB / 0.9766 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.089, allocations: 6.688 kB / 0.9766 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/1.089, allocations: 141.8 kB / 0.9768 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.089, allocations: 18.75 kB / 0.9768 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/1.09, allocations: 83.84 kB / 0.9769 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/1.09, allocations: 30.89 kB / 0.9769 GB, free: 9.016 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 15 (scaYFan.sampleTrigger,scaYFan.tActivateLast,$PRE.scaYFan.tActivateLast,scaYFan.active,scaTem.sampleTrigger,scaTem.tActivateLast,$PRE.scaTem.tActivateLast,scaTem.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0005001/1.09, allocations: 282.9 kB / 0.9772 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/1.09, allocations: 62.12 kB / 0.9772 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/1.092, allocations: 0.6263 MB / 0.9778 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.092, allocations: 15.94 kB / 0.9778 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.092, allocations: 0 / 0.9778 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.092, allocations: 3.984 kB / 0.9778 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/1.096, allocations: 1.653 MB / 0.9795 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/1.096, allocations: 8 kB / 0.9795 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/1.096, allocations: 115.8 kB / 0.9796 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/1.096, allocations: 8 kB / 0.9796 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/1.096, allocations: 27.92 kB / 0.9796 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/1.096, allocations: 12.09 kB / 0.9796 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.096, allocations: 7.938 kB / 0.9796 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/1.098, allocations: 0.8324 MB / 0.9804 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/1.098, allocations: 192.2 kB / 0.9806 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/1.098, allocations: 20 kB / 0.9807 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/1.098, allocations: 51.95 kB / 0.9807 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.099, allocations: 63.75 kB / 0.9808 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/1.099, allocations: 27.98 kB / 0.9808 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004844/1.099, allocations: 342.9 kB / 0.9811 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.099, allocations: 4 kB / 0.9811 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001124/1.1, allocations: 243.1 kB / 0.9814 GB, free: 4.395 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006018/1.101, allocations: 203.7 kB / 0.9815 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002328/1.103, allocations: 0.8173 MB / 0.9823 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.103, allocations: 0 / 0.9823 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008144/1.104, allocations: 328.8 kB / 0.9827 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.105, allocations: 108.5 kB / 0.9828 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/1.108, allocations: 1.528 MB / 0.9843 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/1.109, allocations: 0.9123 MB / 0.9851 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004758/1.109, allocations: 104.9 kB / 0.9852 GB, free: 316 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.109, allocations: 55.42 kB / 0.9853 GB, free: 260 kB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/1.109, allocations: 0 / 0.9853 GB, free: 260 kB / 0.7325 GB Notification: Performance of Templates: time 0.01486/1.124, allocations: 6.699 MB / 0.9918 GB, free: 9.598 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches