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: "" <> 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.001579/0.001579, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001813/0.001813, allocations: 195.9 kB / 16.25 MB, free: 6.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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.274/2.274, allocations: 390.3 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 55.91 kB / 0.8122 GB, free: 14.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5385, allocations: 140.4 MB / 0.9493 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001882/0.5404, allocations: 0.9957 MB / 0.9503 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.5411, allocations: 0.8948 MB / 0.9512 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.5412, allocations: 2.656 kB / 0.9512 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.5413, allocations: 11.86 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.5414, allocations: 9.156 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.5415, allocations: 51.17 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.5417, allocations: 142.5 kB / 0.9514 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.5418, allocations: 65.91 kB / 0.9514 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.5419, allocations: 64.23 kB / 0.9515 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.542, allocations: 60.3 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.542, allocations: 16.12 kB / 0.9516 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.465e-05/0.5421, allocations: 15.12 kB / 0.9516 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.5421, allocations: 36.5 kB / 0.9516 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.5421, allocations: 68.92 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.5423, allocations: 195.5 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5423, allocations: 0 / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5423, allocations: 0 / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5423, allocations: 1.375 kB / 0.9519 GB, free: 7.102 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.0005076/0.5428, allocations: 451.6 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5429, allocations: 9.781 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.5429, allocations: 46.05 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.543, allocations: 17.41 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.5432, allocations: 221.4 kB / 0.9526 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.5432, allocations: 9.953 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.5432, allocations: 11.84 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.5435, allocations: 138.5 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.5435, allocations: 0 / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.5435, allocations: 9.469 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.5436, allocations: 2.156 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.5438, allocations: 102.6 kB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.5444, allocations: 489.9 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.5446, allocations: 81.2 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.5447, allocations: 43.09 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.5448, allocations: 1.25 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.5448, allocations: 40 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.5448, allocations: 0 / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004074/0.5452, allocations: 136.9 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.5452, allocations: 51.41 kB / 0.9536 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.5454, allocations: 191.8 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.5454, allocations: 31.17 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.5455, allocations: 123.1 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.5455, allocations: 19.22 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.5455, allocations: 28.73 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.5456, allocations: 322.4 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.5457, allocations: 38.5 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.5458, allocations: 68.55 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.546, allocations: 74.72 kB / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5461, allocations: 3.938 kB / 0.9545 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002709/0.5463, allocations: 130.8 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5464, allocations: 6.406 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5464, allocations: 4.062 kB / 0.9546 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5464, allocations: 1.031 kB / 0.9546 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5465, allocations: 21.17 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5465, allocations: 1.406 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.943e-05/0.5466, allocations: 13.7 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.5466, allocations: 2.719 kB / 0.9547 GB, free: 4.598 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.986e-05/0.5467, allocations: 129.6 kB / 0.9548 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.5467, allocations: 9.469 kB / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.5471, allocations: 128.5 kB / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5471, allocations: 1.375 kB / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5471, allocations: 0 / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5471, allocations: 3.938 kB / 0.9549 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.5475, allocations: 433.5 kB / 0.9553 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5475, allocations: 5.906 kB / 0.9554 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.5476, allocations: 14.45 kB / 0.9554 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5476, allocations: 1.438 kB / 0.9554 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5477, allocations: 5.219 kB / 0.9554 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5477, allocations: 0 / 0.9554 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5477, allocations: 0.6562 kB / 0.9554 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.5479, allocations: 224.8 kB / 0.9556 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.548, allocations: 89.3 kB / 0.9557 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.548, allocations: 5.344 kB / 0.9557 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5481, allocations: 14.73 kB / 0.9557 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.5482, allocations: 16.38 kB / 0.9557 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5482, allocations: 6.25 kB / 0.9557 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.515e-05/0.5483, allocations: 134.7 kB / 0.9558 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5483, allocations: 4.875 kB / 0.9558 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002542/0.5486, allocations: 17 kB / 0.9559 GB, free: 3.523 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.000431/0.549, allocations: 0.751 MB / 0.9566 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.5493, allocations: 96.53 kB / 0.9567 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5493, allocations: 1.125 kB / 0.9567 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.5494, allocations: 48.94 kB / 0.9567 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.5498, allocations: 28.23 kB / 0.9568 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.5515, allocations: 1.812 MB / 0.9585 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.5516, allocations: 0.7083 MB / 0.9592 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.5517, allocations: 16 kB / 0.9592 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.5517, allocations: 38.58 kB / 0.9593 GB, free: 428 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.5517, allocations: 0 / 0.9593 GB, free: 428 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8801/1.432, allocations: 3.025 MB / 0.9622 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.432, allocations: 260.1 kB / 0.9625 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/3.115, allocations: 1.875 kB / 0.9625 GB, free: 14.76 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