Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.uMin|mod.uMax|mod.uTSup|mod.yOutDamPos|mod.yRetDamPos|modFre.uMin|modFre.uMax|modFre.uTSup|modFre.yOutDamPos|modFre.yRetDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.uMin|mod.uMax|mod.uTSup|mod.yOutDamPos|mod.yRetDamPos|modFre.uMin|modFre.uMax|modFre.uTSup|modFre.yOutDamPos|modFre.yRetDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 108 kB / 15.6 MB, free: 132 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.001855/0.001855, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.573/1.573, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.63/2.63, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9018/0.9033, allocations: 140.3 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup): time 0.002648/0.906, allocations: 1.376 MB / 0.951 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.9072, allocations: 1.045 MB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.9073, allocations: 12.94 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.9074, allocations: 27.61 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.9076, allocations: 48.27 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.9078, allocations: 140.7 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.9081, allocations: 349.9 kB / 0.9526 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.9084, allocations: 182.2 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.9086, allocations: 127.8 kB / 0.9529 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.9087, allocations: 143.5 kB / 0.953 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.9088, allocations: 38.62 kB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.905e-05/0.9088, allocations: 37.31 kB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.9089, allocations: 85.92 kB / 0.9532 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.909, allocations: 159.8 kB / 0.9533 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.9093, allocations: 482.5 kB / 0.9538 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9093, allocations: 0 / 0.9538 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9093, allocations: 0 / 0.9538 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.9093, allocations: 1.062 kB / 0.9538 GB, free: 5.965 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0008411/0.9102, allocations: 0.5915 MB / 0.9544 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.9102, allocations: 13.06 kB / 0.9544 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.9103, allocations: 37.81 kB / 0.9544 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.9107, allocations: 319.2 kB / 0.9547 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.9108, allocations: 22.19 kB / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.9108, allocations: 39.83 kB / 0.9548 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.9113, allocations: 286.5 kB / 0.9551 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9113, allocations: 192 / 0.9551 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.9114, allocations: 19.56 kB / 0.9551 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.9114, allocations: 6.844 kB / 0.9551 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.9119, allocations: 236.8 kB / 0.9553 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.9131, allocations: 0.8579 MB / 0.9561 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.9133, allocations: 129.2 kB / 0.9563 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.9135, allocations: 78.14 kB / 0.9563 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.9135, allocations: 6.875 kB / 0.9563 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.9136, allocations: 35.94 kB / 0.9564 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.9136, allocations: 0 / 0.9564 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0005874/0.9142, allocations: 234.2 kB / 0.9566 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.9142, allocations: 57.25 kB / 0.9567 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.9145, allocations: 279.7 kB / 0.9569 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.9145, allocations: 26.89 kB / 0.957 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.9147, allocations: 192.4 kB / 0.9571 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.9147, allocations: 58.14 kB / 0.9572 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.9148, allocations: 46.5 kB / 0.9572 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.9149, allocations: 337.1 kB / 0.9576 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.9151, allocations: 60.94 kB / 0.9576 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.9153, allocations: 132.1 kB / 0.9577 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.9156, allocations: 193.2 kB / 0.9579 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9156, allocations: 0 / 0.9579 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004828/0.9161, allocations: 249.4 kB / 0.9582 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9162, allocations: 5.5 kB / 0.9582 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9162, allocations: 1.375 kB / 0.9582 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9162, allocations: 4.125 kB / 0.9582 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.9164, allocations: 50.47 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.9164, allocations: 2.281 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.9166, allocations: 33.58 kB / 0.9583 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.9166, allocations: 11.66 kB / 0.9583 GB, free: 2.457 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.000112/0.9167, allocations: 146.9 kB / 0.9584 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.9168, allocations: 23.53 kB / 0.9584 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.9173, allocations: 240.1 kB / 0.9587 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.9173, allocations: 2.281 kB / 0.9587 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9173, allocations: 1 kB / 0.9587 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9173, allocations: 4 kB / 0.9587 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.9181, allocations: 0.6438 MB / 0.9593 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.9181, allocations: 0.9688 kB / 0.9593 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.9183, allocations: 47.66 kB / 0.9593 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.9183, allocations: 5.938 kB / 0.9593 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.9183, allocations: 6.969 kB / 0.9594 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9183, allocations: 2.188 kB / 0.9594 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9183, allocations: 2.156 kB / 0.9594 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.9188, allocations: 339.4 kB / 0.9597 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.9188, allocations: 109.1 kB / 0.9598 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.9189, allocations: 2.281 kB / 0.9598 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.9191, allocations: 21.97 kB / 0.9598 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/0.9191, allocations: 24.41 kB / 0.9598 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.9192, allocations: 6.75 kB / 0.9598 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001708/0.9193, allocations: 206.4 kB / 0.96 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9193, allocations: 1.156 kB / 0.96 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003308/0.9197, allocations: 50.53 kB / 0.9601 GB, free: 1.027 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0001187/0.9198, allocations: 112.3 kB / 0.9602 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.9203, allocations: 185.1 kB / 0.9604 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9203, allocations: 1.094 kB / 0.9604 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.9204, allocations: 85.09 kB / 0.9604 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.921, allocations: 58.23 kB / 0.9605 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.9218, allocations: 487.7 kB / 0.961 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.9222, allocations: 0.7659 MB / 0.9617 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.9223, allocations: 35.53 kB / 0.9618 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.9224, allocations: 32.39 kB / 0.9618 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.9224, allocations: 5.25 kB / 0.9618 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.007564/0.93, allocations: 2.687 MB / 0.9644 GB, free: 14.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches