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.001519/0.00152, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001813/0.001813, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.08 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.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.004853/1.107, allocations: 3.329 MB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002873/1.11, allocations: 1.201 MB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/1.11, allocations: 14 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003724/1.111, allocations: 94.38 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006715/1.111, allocations: 182.7 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/1.112, allocations: 441.2 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001105/1.113, allocations: 0.9068 MB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006834/1.114, allocations: 399.7 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/1.115, allocations: 354.3 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009626/1.124, allocations: 1.783 MB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007817/1.125, allocations: 97.28 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007486/1.126, allocations: 117.4 kB / 1.097 GB, free: 356 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005249/1.126, allocations: 196.8 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008717/1.127, allocations: 402.5 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/1.13, allocations: 1.179 MB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.13, allocations: 0.7031 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/1.13, allocations: 0 / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.529e-05/1.13, allocations: 0 / 1.099 GB, free: 15.48 MB / 0.8731 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.00363/1.133, allocations: 1.147 MB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.133, allocations: 9.562 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/1.134, allocations: 88.44 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/1.135, allocations: 0.536 MB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.033e-05/1.135, allocations: 61.22 kB / 1.101 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/1.136, allocations: 69.56 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.137, allocations: 0.6223 MB / 1.101 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/1.137, allocations: 0 / 1.101 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/1.138, allocations: 27.69 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/1.138, allocations: 21.81 kB / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/1.139, allocations: 0.562 MB / 1.102 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/1.143, allocations: 1.71 MB / 1.104 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/1.145, allocations: 0.4911 MB / 1.104 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/1.145, allocations: 268.8 kB / 1.104 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/1.145, allocations: 12.78 kB / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007224/1.146, allocations: 291.7 kB / 1.105 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 3.036e-06/1.146, allocations: 1.188 kB / 1.105 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.00186/1.148, allocations: 0.68 MB / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.148, allocations: 58.97 kB / 1.105 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009125/1.149, allocations: 0.4929 MB / 1.106 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.149, allocations: 39.17 kB / 1.106 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/1.15, allocations: 341.5 kB / 1.106 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/1.15, allocations: 180.3 kB / 1.106 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/1.15, allocations: 135.2 kB / 1.107 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000233/1.15, allocations: 371.7 kB / 1.107 GB, free: 11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/1.151, allocations: 197.9 kB / 1.107 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/1.152, allocations: 393.4 kB / 1.108 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.153, allocations: 0.5335 MB / 1.108 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.153, allocations: 2 kB / 1.108 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001789/1.155, allocations: 0.6349 MB / 1.109 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.155, allocations: 13.34 kB / 1.109 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.155, allocations: 4.281 kB / 1.109 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.772e-05/1.155, allocations: 11.06 kB / 1.109 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/1.156, allocations: 132.6 kB / 1.109 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/1.156, allocations: 8.031 kB / 1.109 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/1.156, allocations: 92.11 kB / 1.109 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/1.156, allocations: 28.03 kB / 1.109 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006478/1.157, allocations: 323.2 kB / 1.109 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007155/1.158, allocations: 374.7 kB / 1.11 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001016/1.159, allocations: 0.5075 MB / 1.11 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.362e-06/1.159, allocations: 1.469 kB / 1.11 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001405/1.16, allocations: 0.5957 MB / 1.111 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.16, allocations: 7.078 kB / 1.111 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.16, allocations: 4.469 kB / 1.111 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.16, allocations: 7.844 kB / 1.111 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/1.161, allocations: 128.8 kB / 1.111 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/1.161, allocations: 7.438 kB / 1.111 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/1.162, allocations: 80.73 kB / 1.111 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/1.162, allocations: 23.91 kB / 1.111 GB, free: 8.914 MB / 0.8731 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.0002804/1.162, allocations: 222.9 kB / 1.111 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.162, allocations: 59.73 kB / 1.111 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/1.164, allocations: 0.5984 MB / 1.112 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.164, allocations: 7.234 kB / 1.112 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.164, allocations: 0.5156 kB / 1.112 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/1.164, allocations: 185.7 kB / 1.112 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/1.164, allocations: 12.19 kB / 1.112 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/1.165, allocations: 32.39 kB / 1.112 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.165, allocations: 49.62 kB / 1.112 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001516/1.166, allocations: 0.6293 MB / 1.113 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001462/1.168, allocations: 0.7116 MB / 1.113 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005913/1.168, allocations: 247.4 kB / 1.114 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00051/1.169, allocations: 340.8 kB / 1.114 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of Backend: time 5.1e-07/1.169, allocations: 1.312 kB / 1.114 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002375/1.171, allocations: 0.7408 MB / 1.115 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002616/1.174, allocations: 1.425 MB / 1.116 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.02942/1.203, allocations: 9.395 MB / 1.125 GB, free: 5.262 MB / 0.8731 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/jenkins1/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