Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_10_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.0007912/0.0007912, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009759/0.0009761, allocations: 190.7 kB / 16.93 MB, free: 6.75 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 16 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7192, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.005361/0.7246, allocations: 3.32 MB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.728, allocations: 1.378 MB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.7289, allocations: 19.88 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.7295, allocations: 79.23 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009935/0.7305, allocations: 151.1 kB / 1.029 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.7317, allocations: 423.5 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.733, allocations: 0.9533 MB / 1.03 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.7337, allocations: 435.6 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.734, allocations: 286.5 kB / 1.031 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04548/0.7795, allocations: 3.282 MB / 1.034 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.7799, allocations: 28 kB / 1.034 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.7802, allocations: 55.97 kB / 1.034 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.7804, allocations: 131.3 kB / 1.034 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.7809, allocations: 371.3 kB / 1.034 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.7825, allocations: 0.9894 MB / 1.035 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7825, allocations: 8 kB / 1.035 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7825, allocations: 0 / 1.035 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.7826, allocations: 0 / 1.035 GB, free: 4.641 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002612/0.7852, allocations: 1.101 MB / 1.036 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.7852, allocations: 12.03 kB / 1.036 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.7856, allocations: 99.81 kB / 1.036 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.7867, allocations: 0.5927 MB / 1.037 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.7868, allocations: 58 kB / 1.037 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.787, allocations: 88 kB / 1.037 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.7886, allocations: 0.679 MB / 1.038 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.7886, allocations: 0 / 1.038 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.7887, allocations: 32 kB / 1.038 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.7887, allocations: 20 kB / 1.038 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.7902, allocations: 0.6246 MB / 1.038 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.7948, allocations: 2.13 MB / 1.041 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.7957, allocations: 431.5 kB / 1.041 GB, free: 14.6 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.7962, allocations: 222.1 kB / 1.041 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.7963, allocations: 16.36 kB / 1.041 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007286/0.797, allocations: 360.1 kB / 1.042 GB, free: 13.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 2.805e-06/0.797, allocations: 0 / 1.042 GB, free: 13.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=52): time 0.001719/0.7987, allocations: 0.6895 MB / 1.042 GB, free: 13.28 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.7989, allocations: 214 kB / 1.042 GB, free: 13.02 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/0.7997, allocations: 0.6291 MB / 1.043 GB, free: 12.39 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.7998, allocations: 41.7 kB / 1.043 GB, free: 12.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.8001, allocations: 391.8 kB / 1.043 GB, free: 11.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.8003, allocations: 161.7 kB / 1.044 GB, free: 11.79 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.8004, allocations: 73.67 kB / 1.044 GB, free: 11.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.8006, allocations: 378.8 kB / 1.044 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.8011, allocations: 213.9 kB / 1.044 GB, free: 11.13 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/0.8019, allocations: 477.3 kB / 1.045 GB, free: 10.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.8031, allocations: 0.5547 MB / 1.045 GB, free: 9.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.8031, allocations: 7.938 kB / 1.045 GB, free: 9.945 MB / 0.795 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0015/0.8046, allocations: 0.7061 MB / 1.046 GB, free: 9.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.8048, allocations: 215.4 kB / 1.046 GB, free: 8.961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8048, allocations: 4 kB / 1.046 GB, free: 8.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.8048, allocations: 8 kB / 1.046 GB, free: 8.949 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.8054, allocations: 143.7 kB / 1.046 GB, free: 8.809 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.8054, allocations: 11.98 kB / 1.046 GB, free: 8.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.8061, allocations: 115.2 kB / 1.046 GB, free: 8.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.8062, allocations: 31.98 kB / 1.046 GB, free: 8.652 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.8062, allocations: 4 kB / 1.046 GB, free: 8.648 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.8074, allocations: 0.5908 MB / 1.047 GB, free: 8.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8074, allocations: 7.938 kB / 1.047 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8074, allocations: 8 kB / 1.047 GB, free: 8.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.8079, allocations: 135.8 kB / 1.047 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.808, allocations: 11.92 kB / 1.047 GB, free: 7.898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.8086, allocations: 119.2 kB / 1.047 GB, free: 7.781 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.8086, allocations: 24 kB / 1.047 GB, free: 7.758 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 (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,setPoiVAV.fanSpe.u2,setPoiVAV.isUnoMod.y,setPoiVAV.not1.u,opeMod.y,setPoiVAV.unoMod.y,plotConfiguration.activate_internal,setPoiVAV.y1SupFan,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.heaSta.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0004461/0.8091, allocations: 295.5 kB / 1.048 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.8092, allocations: 79 kB / 1.048 GB, free: 7.379 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.8107, allocations: 0.6204 MB / 1.048 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.8107, allocations: 8 kB / 1.048 GB, free: 6.742 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.8107, allocations: 3.984 kB / 1.048 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.8107, allocations: 0 / 1.048 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.8134, allocations: 1.549 MB / 1.05 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.8134, allocations: 4 kB / 1.05 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.8139, allocations: 107.7 kB / 1.05 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.8139, allocations: 8 kB / 1.05 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.8139, allocations: 20 kB / 1.05 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.8139, allocations: 7.984 kB / 1.05 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.8139, allocations: 4 kB / 1.05 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.8159, allocations: 0.9895 MB / 1.051 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.8162, allocations: 208 kB / 1.051 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.8163, allocations: 23.92 kB / 1.051 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.8168, allocations: 59.95 kB / 1.051 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.8169, allocations: 59.86 kB / 1.051 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.817, allocations: 23.98 kB / 1.051 GB, free: 3.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005783/0.8176, allocations: 439.1 kB / 1.052 GB, free: 3.074 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8176, allocations: 0 / 1.052 GB, free: 3.074 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001035/0.8186, allocations: 295 kB / 1.052 GB, free: 2.785 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 13 (scaTem.sampleTrigger,scaYFan.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast,setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 2 (setPoiVAV.gre.greHys.y,setPoiVAV.heaSta.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0004656/0.8191, allocations: 185.4 kB / 1.052 GB, free: 2.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.8212, allocations: 0.8614 MB / 1.053 GB, free: 1.754 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.8212, allocations: 4.188 kB / 1.053 GB, free: 1.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006905/0.8219, allocations: 292.9 kB / 1.053 GB, free: 1.465 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.8232, allocations: 148.2 kB / 1.053 GB, free: 1.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.8259, allocations: 1.624 MB / 1.055 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.8266, allocations: 0.9393 MB / 1.056 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.8268, allocations: 71.41 kB / 1.056 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.8268, allocations: 0 / 1.056 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.01822/0.8451, allocations: 9.898 MB / 1.066 GB, free: 4.746 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches