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.007258/0.007258, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001263/0.001263, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.583/1.583, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.66/2.66, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 62.91 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3384, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002142/0.3406, allocations: 0.9404 MB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3417, allocations: 0.8935 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.3417, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.175e-05/0.3418, allocations: 15.75 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.722e-05/0.3419, allocations: 23.8 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3421, allocations: 55.95 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.3423, allocations: 151.6 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.3425, allocations: 65.73 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.3426, allocations: 55.78 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.3427, allocations: 63.69 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.3427, allocations: 16 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.488e-05/0.3428, allocations: 19.94 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.3428, allocations: 31.91 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.3429, allocations: 63.67 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3431, allocations: 215 kB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3431, allocations: 0 / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3431, allocations: 0 / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3431, allocations: 0 / 1.091 GB, free: 14.9 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.0006271/0.3438, allocations: 447.1 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3438, allocations: 12.03 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.3439, allocations: 12.84 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.3442, allocations: 224.5 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3442, allocations: 12.55 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3443, allocations: 16.38 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.3446, allocations: 128.1 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3446, allocations: 3.938 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.3446, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.3446, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.3449, allocations: 108.4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.3457, allocations: 472.3 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3459, allocations: 90.48 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.346, allocations: 32.84 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.346, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.346, allocations: 38.56 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3461, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004249/0.3465, allocations: 141.5 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.3465, allocations: 51.41 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3467, allocations: 187.2 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3467, allocations: 25.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.3468, allocations: 120 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.3468, allocations: 35.92 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.3469, allocations: 29.66 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.347, allocations: 322.8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3471, allocations: 35.97 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3473, allocations: 62.48 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3475, allocations: 89.64 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3475, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002821/0.3478, allocations: 133.4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3478, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3478, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3478, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.348, allocations: 24.02 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.348, allocations: 3.938 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.3481, allocations: 19.88 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3481, allocations: 0 / 1.093 GB, free: 11.82 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 0.0001022/0.3482, allocations: 125.8 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3482, allocations: 15.89 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.3486, allocations: 131.3 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3486, allocations: 0 / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3486, allocations: 4 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3486, allocations: 3.984 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.3491, allocations: 423.3 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3491, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.3492, allocations: 23.95 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3492, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3492, allocations: 4.266 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.3493, allocations: 4 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3493, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3496, allocations: 220.2 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.3496, allocations: 97 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3497, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3498, allocations: 11.98 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.3498, allocations: 7.984 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3499, allocations: 8 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001109/0.35, allocations: 144.2 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.35, allocations: 0 / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002357/0.3502, allocations: 23.94 kB / 1.094 GB, free: 10.49 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.0001189/0.3503, allocations: 111.2 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.3507, allocations: 87.88 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3507, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.3508, allocations: 39.97 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3511, allocations: 37.27 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.3516, allocations: 244.1 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3519, allocations: 0.7045 MB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.832e-05/0.3519, allocations: 16.64 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.352, allocations: 19.42 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.352, allocations: 0 / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of Templates: time 0.004221/0.3562, allocations: 1.603 MB / 1.097 GB, free: 7.625 MB / 0.8575 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/jenkins/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