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.001143/0.001143, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001321/0.001321, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.588/2.588, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 12 kB / 0.816 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.91/0.9105, allocations: 142.4 MB / 0.9551 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001386/0.9119, allocations: 0.6469 MB / 0.9558 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.9136, allocations: 0.8906 MB / 0.9566 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.9137, allocations: 1.938 kB / 0.9566 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.9138, allocations: 11.86 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.9139, allocations: 9.969 kB / 0.9566 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.9141, allocations: 46.91 kB / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.9144, allocations: 132.6 kB / 0.9568 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.9146, allocations: 68.22 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.9147, allocations: 37.14 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.9148, allocations: 47.02 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.9148, allocations: 4.969 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.9149, allocations: 3.219 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.9149, allocations: 24.44 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.108e-05/0.915, allocations: 76.59 kB / 0.9571 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.9153, allocations: 187.3 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9153, allocations: 0 / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9153, allocations: 5.156 kB / 0.9572 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.9153, allocations: 0 / 0.9572 GB, free: 5.922 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.0006742/0.916, allocations: 430.6 kB / 0.9577 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.9161, allocations: 9.562 kB / 0.9577 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.9161, allocations: 20.47 kB / 0.9577 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.9165, allocations: 226.9 kB / 0.9579 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.9165, allocations: 9.047 kB / 0.9579 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.9165, allocations: 12.47 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.9169, allocations: 135 kB / 0.9581 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.9169, allocations: 3.938 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.9169, allocations: 7.969 kB / 0.9581 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9169, allocations: 4.5 kB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.9173, allocations: 113.4 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.918, allocations: 488.5 kB / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.9183, allocations: 85.52 kB / 0.9587 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.9184, allocations: 47.5 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.9184, allocations: 9.609 kB / 0.9588 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.9185, allocations: 32.06 kB / 0.9588 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.9185, allocations: 0 / 0.9588 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005074/0.919, allocations: 154.2 kB / 0.959 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.919, allocations: 52.56 kB / 0.959 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.9193, allocations: 192.5 kB / 0.9592 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.9193, allocations: 27.48 kB / 0.9592 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.9194, allocations: 119.1 kB / 0.9593 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.9194, allocations: 25.48 kB / 0.9594 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.9194, allocations: 17.28 kB / 0.9594 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.9195, allocations: 322.4 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.9197, allocations: 42.47 kB / 0.9597 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.9198, allocations: 69.73 kB / 0.9598 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.92, allocations: 84.44 kB / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.9201, allocations: 192 / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003478/0.9204, allocations: 156.5 kB / 0.96 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9204, allocations: 5.5 kB / 0.96 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9205, allocations: 1.375 kB / 0.96 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9205, allocations: 1.375 kB / 0.96 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.9206, allocations: 27.08 kB / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.9206, allocations: 0 / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.9207, allocations: 21.52 kB / 0.9601 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.9208, allocations: 6.75 kB / 0.9601 GB, free: 3.473 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 0.0001038/0.9209, allocations: 124.7 kB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.9209, allocations: 9.406 kB / 0.9602 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.9212, allocations: 142 kB / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9213, allocations: 1.375 kB / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.9213, allocations: 0 / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9213, allocations: 1.375 kB / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.9218, allocations: 438.9 kB / 0.9608 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9218, allocations: 3.938 kB / 0.9608 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.9219, allocations: 17.73 kB / 0.9608 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.9219, allocations: 1.375 kB / 0.9608 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.9219, allocations: 5.375 kB / 0.9608 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.9219, allocations: 5.406 kB / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.9219, allocations: 0 / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.9223, allocations: 226.4 kB / 0.961 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.9223, allocations: 88.58 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.9224, allocations: 9.984 kB / 0.9611 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.9225, allocations: 17.45 kB / 0.9611 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.9226, allocations: 9.359 kB / 0.9611 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.9226, allocations: 5.875 kB / 0.9611 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001448/0.9228, allocations: 143.4 kB / 0.9613 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9228, allocations: 0 / 0.9613 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002566/0.923, allocations: 21.75 kB / 0.9613 GB, free: 2.406 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.0001826/0.9232, allocations: 103.8 kB / 0.9614 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.9236, allocations: 94.78 kB / 0.9615 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9236, allocations: 4.062 kB / 0.9615 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.9238, allocations: 45.72 kB / 0.9615 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.9242, allocations: 31.48 kB / 0.9616 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.9249, allocations: 301.7 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.9252, allocations: 0.7166 MB / 0.9625 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.736e-05/0.9253, allocations: 16.09 kB / 0.9626 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.9253, allocations: 14 kB / 0.9626 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.9254, allocations: 5.312 kB / 0.9626 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.005722/0.9311, allocations: 1.414 MB / 0.964 GB, free: 0.5781 MB / 0.7169 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