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.001451/0.001451, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001569/0.001569, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.348/2.348, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.7 kB / 0.8128 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2544, allocations: 140.4 MB / 0.9498 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002315/0.2568, allocations: 0.992 MB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.258, allocations: 0.8974 MB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2581, allocations: 4 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.2582, allocations: 7.922 kB / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.2583, allocations: 11.88 kB / 0.9517 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.2585, allocations: 43.97 kB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.2587, allocations: 147.6 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.2589, allocations: 69.5 kB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.871e-05/0.259, allocations: 51.8 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.2591, allocations: 63.69 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.2591, allocations: 20 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.2591, allocations: 16 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.2592, allocations: 31.91 kB / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.2592, allocations: 71.61 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.2594, allocations: 159.8 kB / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2594, allocations: 0 / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2594, allocations: 0 / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.2595, allocations: 0 / 0.9524 GB, free: 6.57 MB / 0.7325 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.0006289/0.2601, allocations: 455.1 kB / 0.9528 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2601, allocations: 8.031 kB / 0.9528 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.2602, allocations: 12.84 kB / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.2605, allocations: 220.4 kB / 0.953 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2605, allocations: 16.55 kB / 0.953 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.2605, allocations: 12.38 kB / 0.953 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.2608, allocations: 133.6 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2609, allocations: 3.938 kB / 0.9532 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2609, allocations: 8 kB / 0.9532 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2609, allocations: 4 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.2612, allocations: 108.4 kB / 0.9533 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/0.2619, allocations: 476.1 kB / 0.9537 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.2621, allocations: 90.47 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2623, allocations: 40.84 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2623, allocations: 160 / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2623, allocations: 30.56 kB / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2623, allocations: 0 / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004364/0.2628, allocations: 141.5 kB / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2628, allocations: 55.34 kB / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.263, allocations: 195.1 kB / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.263, allocations: 29.7 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.2631, allocations: 112 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2631, allocations: 27.58 kB / 0.9544 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2632, allocations: 25.72 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2633, allocations: 322.8 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2634, allocations: 39.97 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2636, allocations: 54.55 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.2638, allocations: 89.64 kB / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2638, allocations: 4 kB / 0.955 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002927/0.2641, allocations: 133.5 kB / 0.9551 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2641, allocations: 4 kB / 0.9551 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2641, allocations: 4 kB / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2641, allocations: 0 / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2643, allocations: 15.98 kB / 0.9551 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2643, allocations: 4.344 kB / 0.9551 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2644, allocations: 23.83 kB / 0.9551 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2644, allocations: 4 kB / 0.9551 GB, free: 3.492 MB / 0.7325 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.0001113/0.2645, allocations: 131.7 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.2646, allocations: 11.91 kB / 0.9553 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.2649, allocations: 123 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2649, allocations: 4 kB / 0.9554 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2649, allocations: 4 kB / 0.9554 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2649, allocations: 3.984 kB / 0.9554 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.2655, allocations: 419.1 kB / 0.9558 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2655, allocations: 0 / 0.9558 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.2656, allocations: 19.98 kB / 0.9558 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2656, allocations: 4 kB / 0.9558 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2656, allocations: 8.016 kB / 0.9558 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2656, allocations: 0 / 0.9558 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2656, allocations: 3.938 kB / 0.9558 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.266, allocations: 208.2 kB / 0.956 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.266, allocations: 96.91 kB / 0.9561 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.2661, allocations: 8 kB / 0.9561 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2662, allocations: 7.984 kB / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.2663, allocations: 11.98 kB / 0.9561 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.2663, allocations: 4 kB / 0.9562 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001136/0.2664, allocations: 143.2 kB / 0.9563 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.383e-06/0.2664, allocations: 0 / 0.9563 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002566/0.2667, allocations: 23.88 kB / 0.9563 GB, free: 2.172 MB / 0.7325 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.0001265/0.2668, allocations: 117.2 kB / 0.9564 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.2671, allocations: 91.88 kB / 0.9565 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2671, allocations: 0 / 0.9565 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2672, allocations: 35.98 kB / 0.9565 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.2677, allocations: 40.31 kB / 0.9566 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.2682, allocations: 313.8 kB / 0.9569 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.2684, allocations: 0.7084 MB / 0.9576 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.2685, allocations: 19.44 kB / 0.9576 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.2685, allocations: 0 / 0.9576 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of Templates: time 0.003333/0.2718, allocations: 1.682 MB / 0.9592 GB, free: 15.13 MB / 0.7481 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/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