Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007267/0.007267, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.001661/0.001661, allocations: 202 kB / 16.68 MB, free: 5.961 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 64.09 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3214, allocations: 151.6 MB / 1.166 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002186/0.3237, allocations: 1.06 MB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3254, allocations: 1.268 MB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.3255, allocations: 4 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3257, allocations: 19.73 kB / 1.169 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.3257, allocations: 31.67 kB / 1.169 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.3263, allocations: 194.4 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.3266, allocations: 267.4 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3268, allocations: 80.05 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3269, allocations: 91.75 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.327, allocations: 103.6 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.3271, allocations: 24 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.3272, allocations: 43.97 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.3272, allocations: 43.84 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3273, allocations: 103.5 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.3277, allocations: 315 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3277, allocations: 4 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3277, allocations: 0 / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3277, allocations: 0 / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008316/0.3286, allocations: 0.5236 MB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3286, allocations: 12.03 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.3287, allocations: 46.73 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.3287, allocations: 20.84 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.3294, allocations: 313.1 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3295, allocations: 16.38 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3295, allocations: 16.38 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.3299, allocations: 157.8 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3299, allocations: 0 / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.3299, allocations: 11.98 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3299, allocations: 0 / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.3303, allocations: 123.9 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.3311, allocations: 0.5079 MB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.3315, allocations: 114.6 kB / 1.172 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3317, allocations: 48.83 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3317, allocations: 7.969 kB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.332, allocations: 115.3 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.332, allocations: 192 / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0006649/0.3327, allocations: 205.3 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.3327, allocations: 59.41 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3329, allocations: 171.5 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3329, allocations: 37.7 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.333, allocations: 144.2 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.333, allocations: 27.75 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.3331, allocations: 49.69 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3333, allocations: 334.7 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3335, allocations: 67.94 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.3338, allocations: 133.8 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.3342, allocations: 191.6 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3342, allocations: 0 / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006157/0.3348, allocations: 274.9 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.3349, allocations: 37.69 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3349, allocations: 4 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3349, allocations: 0 / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3351, allocations: 31.97 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3351, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3353, allocations: 56.03 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3354, allocations: 8 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y,relDam.and2.y,relDam.greThr.greHys.y,$PRE.relDam.greThr.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.00012/0.3355, allocations: 141.7 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3355, allocations: 11.91 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.336, allocations: 186.2 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.336, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.336, allocations: 4 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3361, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.3363, allocations: 249.4 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3363, allocations: 0 / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3364, allocations: 27.98 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3364, allocations: 4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3364, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3365, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3365, allocations: 3.984 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.3369, allocations: 196.8 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.337, allocations: 93.02 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.337, allocations: 0 / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3371, allocations: 19.97 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.3372, allocations: 11.98 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3372, allocations: 8 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.265e-05/0.3373, allocations: 125.2 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3373, allocations: 0 / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000282/0.3376, allocations: 43.89 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,relDam.greThr.greHys.y,relDam.and2.y,fanStatus.y) * Number of discrete states: 1 (relDam.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007194/0.3383, allocations: 0.7372 MB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.3388, allocations: 231.2 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3389, allocations: 4 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3391, allocations: 71.77 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3393, allocations: 36.28 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.342, allocations: 2.044 MB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3423, allocations: 0.7203 MB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.3424, allocations: 29.52 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.3425, allocations: 51.42 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3425, allocations: 0 / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.3617, allocations: 4.117 MB / 1.182 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/7.931, allocations: 13.45 kB / 1.182 GB, free: 6.43 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[503]=3600.000000 File[1204]=2249.280000 Error: Could not read variable relDam.uOutDam_min in file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv. Warning: Get data of variable relDam.uOutDam_min from file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv failed! Error: Could not read variable relDam.uOutDam in file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv. Warning: Get data of variable relDam.uOutDam from file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv failed! " Variables in the reference:time,relDam.uOutDam_min,relDam.uOutDam,relDam.yRelDam Variables in the result:time,outDam.y,outDamMin.y,relDam.yRelDam,fanStatus.period,fanStatus.shift