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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",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.001756/0.001756, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002166/0.002166, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.14/2.14, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5378/0.5391, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.00187/0.541, allocations: 0.9912 MB / 0.9501 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000697/0.5417, allocations: 0.8997 MB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.5418, allocations: 2 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.5418, allocations: 11.86 kB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.5419, allocations: 5.906 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.5421, allocations: 54.64 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.5422, allocations: 132.7 kB / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.5423, allocations: 72.89 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.5424, allocations: 47.11 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.5425, allocations: 59.36 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.5425, allocations: 7.844 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.5425, allocations: 7.625 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.5426, allocations: 23.72 kB / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.5426, allocations: 56.48 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.5428, allocations: 191.3 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5428, allocations: 0 / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5428, allocations: 1.375 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5428, allocations: 0 / 0.9516 GB, free: 7.211 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004968/0.5433, allocations: 451.5 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5433, allocations: 10.28 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.5434, allocations: 45.67 kB / 0.9521 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.5434, allocations: 16.84 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.5436, allocations: 220 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.5436, allocations: 13.27 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.5437, allocations: 12.94 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.5439, allocations: 140.3 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5439, allocations: 2 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.544, allocations: 0 / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.544, allocations: 3.656 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.5442, allocations: 105.8 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.5448, allocations: 482 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.545, allocations: 85.02 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.5451, allocations: 42.44 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.5451, allocations: 1.25 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.5452, allocations: 35.72 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.5452, allocations: 3.984 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003866/0.5456, allocations: 137.2 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.5456, allocations: 56.8 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5457, allocations: 183.8 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5457, allocations: 34.81 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.5458, allocations: 117.9 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.5458, allocations: 31.78 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.5459, allocations: 24.3 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.5459, allocations: 325.9 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.546, allocations: 31.42 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.5461, allocations: 60.38 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.5463, allocations: 85.97 kB / 0.9542 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5463, allocations: 5.75 kB / 0.9542 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002483/0.5466, allocations: 130.4 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5466, allocations: 5.375 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5466, allocations: 0 / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.5466, allocations: 1.812 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5467, allocations: 20.39 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5467, allocations: 5.594 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.5468, allocations: 18.55 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.5469, allocations: 2.406 kB / 0.9544 GB, free: 4.703 MB / 0.7169 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 6.402e-05/0.5469, allocations: 124.4 kB / 0.9545 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.547, allocations: 9.781 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.5472, allocations: 124.7 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5472, allocations: 1.125 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5473, allocations: 0 / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5473, allocations: 1.438 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.5478, allocations: 437 kB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5478, allocations: 1.5 kB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.5479, allocations: 26.2 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5479, allocations: 1.156 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5479, allocations: 1.156 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5479, allocations: 1.125 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5479, allocations: 1.469 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.5481, allocations: 219.4 kB / 0.9553 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.5482, allocations: 93.02 kB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.5482, allocations: 1.438 kB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5483, allocations: 9.984 kB / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.5484, allocations: 17.06 kB / 0.9554 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.5484, allocations: 6.719 kB / 0.9555 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.128e-05/0.5485, allocations: 135.2 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5485, allocations: 3.938 kB / 0.9556 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002338/0.5487, allocations: 21.44 kB / 0.9556 GB, free: 3.637 MB / 0.7169 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.0003967/0.5491, allocations: 0.7558 MB / 0.9563 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.5494, allocations: 87.77 kB / 0.9564 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5494, allocations: 0 / 0.9564 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.5495, allocations: 45.56 kB / 0.9565 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.5498, allocations: 38.48 kB / 0.9565 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.5514, allocations: 1.801 MB / 0.9583 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.5516, allocations: 0.7054 MB / 0.959 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.987e-05/0.5516, allocations: 16.23 kB / 0.959 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.5517, allocations: 42.73 kB / 0.959 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5517, allocations: 0 / 0.959 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7183/1.27, allocations: 2.924 MB / 0.9619 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/1.27, allocations: 254.5 kB / 0.9621 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/4.627, allocations: 5.094 kB / 0.9621 GB, free: 14.93 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > 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