Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 112 kB / 16.41 MB, free: 6.039 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.001141/0.001141, allocations: 188.7 kB / 17.34 MB, free: 5.629 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 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.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.8269, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002104/0.8291, allocations: 0.9395 MB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.8301, allocations: 0.8952 MB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.8302, allocations: 2.125 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.8302, allocations: 14.3 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.175e-05/0.8303, allocations: 24.41 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.8306, allocations: 65.92 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.8308, allocations: 143.2 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.831, allocations: 56.28 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.8311, allocations: 62.61 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.8312, allocations: 58.03 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.8312, allocations: 15.81 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-05/0.8312, allocations: 16.22 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.8313, allocations: 32.97 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.8313, allocations: 66.05 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.8316, allocations: 211 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8316, allocations: 1.031 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8316, allocations: 0 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.8316, allocations: 0 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005951/0.8322, allocations: 444.9 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.8323, allocations: 9.562 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.8323, allocations: 16.34 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.8326, allocations: 225 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.8327, allocations: 9.141 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.8327, allocations: 16.8 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.833, allocations: 132.3 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.833, allocations: 3.938 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.8331, allocations: 5.453 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8331, allocations: 3.156 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.8334, allocations: 111.7 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.8341, allocations: 471.4 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.8344, allocations: 85.61 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8345, allocations: 40.56 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.8345, allocations: 2.281 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8346, allocations: 40.02 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8346, allocations: 1.094 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000479/0.835, allocations: 135 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.8351, allocations: 60.5 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.8353, allocations: 190.8 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.8353, allocations: 27.64 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.8354, allocations: 119.7 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.8354, allocations: 21.03 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.8355, allocations: 26.75 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.8355, allocations: 322.4 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.8357, allocations: 38.12 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.8358, allocations: 72.03 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.836, allocations: 76.95 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.836, allocations: 0 / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003023/0.8363, allocations: 137.2 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.8364, allocations: 7.656 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8364, allocations: 1.453 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.8364, allocations: 1.25 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.8365, allocations: 20.62 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8366, allocations: 1.375 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.8367, allocations: 13.56 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.8367, allocations: 3.25 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (exhDamPos.and2.y,exhDamPos.greThr.y,$PRE.exhDamPos.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.601e-05/0.8368, allocations: 128.9 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.8368, allocations: 14.3 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.8371, allocations: 136.2 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.8372, allocations: 0.5938 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8372, allocations: 1.422 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8372, allocations: 0.625 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.8377, allocations: 424.3 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8377, allocations: 1.547 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.8378, allocations: 15.22 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8378, allocations: 0.875 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8378, allocations: 1.406 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.8379, allocations: 5.422 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8379, allocations: 0.9688 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.8382, allocations: 231.6 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.8382, allocations: 90.09 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.8382, allocations: 2.562 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.8384, allocations: 13.67 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.8384, allocations: 10.5 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8384, allocations: 10.22 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001185/0.8386, allocations: 142.3 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8386, allocations: 1.062 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002501/0.8388, allocations: 24.38 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001479/0.839, allocations: 102.4 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.8393, allocations: 85.98 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8393, allocations: 5.25 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.8395, allocations: 46.98 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.8398, allocations: 30.83 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.8403, allocations: 267.4 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.8406, allocations: 0.711 MB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.8406, allocations: 16.83 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8406, allocations: 0 / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.004305/0.845, allocations: 1.689 MB / 1.098 GB, free: 15.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches