Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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.001131/0.001131, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001186/0.001186, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.437/2.437, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.86 kB / 0.8774 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2777, allocations: 153 MB / 1.027 GB, free: 1.953 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002481/0.2803, allocations: 0.9722 MB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2813, allocations: 0.9091 MB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.2814, allocations: 4 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.175e-05/0.2815, allocations: 15.8 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.2816, allocations: 15.81 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.2818, allocations: 63.88 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.282, allocations: 151.6 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.2822, allocations: 69.72 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.2823, allocations: 55.78 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.2824, allocations: 59.75 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.2824, allocations: 19.94 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.2824, allocations: 16 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.2825, allocations: 31.91 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.2825, allocations: 63.67 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.2827, allocations: 211.2 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2827, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2828, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2828, allocations: 4 kB / 1.029 GB, free: 15.29 MB / 0.8106 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.0005778/0.2833, allocations: 451.2 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2834, allocations: 8.031 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.2834, allocations: 16.75 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.2837, allocations: 216.5 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2837, allocations: 8.609 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.2838, allocations: 16.38 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.284, allocations: 133.5 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2841, allocations: 3.938 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.2841, allocations: 8 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2841, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.2844, allocations: 104.6 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.285, allocations: 488.5 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2853, allocations: 82.52 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2854, allocations: 40.81 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2854, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.2854, allocations: 38.56 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2855, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004098/0.2859, allocations: 141.4 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.2859, allocations: 51.56 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.2861, allocations: 184 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2861, allocations: 33.69 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.2862, allocations: 119.9 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2862, allocations: 23.69 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.2863, allocations: 29.7 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2864, allocations: 322.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2865, allocations: 43.91 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2866, allocations: 54.55 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.2869, allocations: 77.72 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2869, allocations: 3.938 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002834/0.2872, allocations: 137.3 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2872, allocations: 4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2872, allocations: 4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2872, allocations: 4.031 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.2873, allocations: 15.98 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2873, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.2875, allocations: 23.81 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2875, allocations: 4 kB / 1.032 GB, free: 12.22 MB / 0.8106 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 9.667e-05/0.2876, allocations: 130 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.2876, allocations: 7.906 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.2879, allocations: 134.9 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.288, allocations: 7.938 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.288, allocations: 0 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.288, allocations: 0 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.2885, allocations: 419.2 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2885, allocations: 4 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.2886, allocations: 20.02 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2886, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2886, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2886, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.2886, allocations: 4.469 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.2889, allocations: 236 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.289, allocations: 92.94 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.289, allocations: 4 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.2891, allocations: 11.98 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.2892, allocations: 7.984 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2892, allocations: 4 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001043/0.2893, allocations: 143.2 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.413e-06/0.2893, allocations: 0 / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002475/0.2896, allocations: 31.84 kB / 1.033 GB, free: 10.87 MB / 0.8106 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.0001089/0.2897, allocations: 103.2 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.29, allocations: 87.89 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.29, allocations: 0 / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2901, allocations: 47.91 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2905, allocations: 41.58 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.2909, allocations: 238 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.2911, allocations: 0.7084 MB / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.033e-05/0.2912, allocations: 12.64 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.2913, allocations: 15.42 kB / 1.035 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2913, allocations: 4 kB / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of Templates: time 0.004073/0.2953, allocations: 1.596 MB / 1.036 GB, free: 8.023 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches