Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relDam.uOutDam_min|relDam.uOutDam|relDam.yRelDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relDam.uOutDam_min|relDam.uOutDam|relDam.yRelDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001242/0.001242, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.00191, allocations: 64.33 kB / 0.8141 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2765, allocations: 140.4 MB / 0.9512 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002399/0.2789, allocations: 1.051 MB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2805, allocations: 1.245 MB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.2806, allocations: 7.938 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.2808, allocations: 23.73 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.2808, allocations: 31.72 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.2814, allocations: 183.2 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.2817, allocations: 263.4 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2819, allocations: 88.05 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.282, allocations: 91.73 kB / 0.9541 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2821, allocations: 103.6 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.2822, allocations: 24 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.2823, allocations: 36 kB / 0.9543 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.2823, allocations: 43.83 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2824, allocations: 103.5 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.2828, allocations: 307 kB / 0.9547 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2828, allocations: 0 / 0.9547 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2828, allocations: 0 / 0.9547 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.2828, allocations: 4 kB / 0.9547 GB, free: 4.355 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009315/0.2837, allocations: 0.5315 MB / 0.9552 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2838, allocations: 8.031 kB / 0.9552 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.2839, allocations: 28.59 kB / 0.9553 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/0.2845, allocations: 316 kB / 0.9556 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2846, allocations: 12.38 kB / 0.9556 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.2846, allocations: 16.38 kB / 0.9556 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.285, allocations: 150.6 kB / 0.9557 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.285, allocations: 3.938 kB / 0.9557 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.285, allocations: 8 kB / 0.9557 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.285, allocations: 8 kB / 0.9557 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.2854, allocations: 123.9 kB / 0.9559 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.2862, allocations: 0.504 MB / 0.9564 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.2865, allocations: 110.5 kB / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.2867, allocations: 56.81 kB / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.2867, allocations: 4 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.287, allocations: 119.2 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/0.287, allocations: 0 / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0006387/0.2877, allocations: 201.5 kB / 0.9568 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.2877, allocations: 51.41 kB / 0.9569 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2879, allocations: 179.4 kB / 0.957 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.2879, allocations: 29.7 kB / 0.9571 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.288, allocations: 140.1 kB / 0.9572 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2881, allocations: 35.55 kB / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.2882, allocations: 45.7 kB / 0.9573 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2883, allocations: 330.8 kB / 0.9576 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2885, allocations: 71.95 kB / 0.9577 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.2888, allocations: 119.8 kB / 0.9578 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.2892, allocations: 203.5 kB / 0.958 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2892, allocations: 0 / 0.958 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005841/0.2898, allocations: 267 kB / 0.9582 GB, free: 456 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.2898, allocations: 45.58 kB / 0.9583 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2898, allocations: 4.188 kB / 0.9583 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2899, allocations: 4 kB / 0.9583 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.29, allocations: 31.97 kB / 0.9583 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.29, allocations: 4 kB / 0.9583 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.2903, allocations: 47.8 kB / 0.9584 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.2903, allocations: 8 kB / 0.9584 GB, free: 304 kB / 0.7325 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.0001229/0.2904, allocations: 148.7 kB / 0.9585 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.2905, allocations: 11.81 kB / 0.9585 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.2909, allocations: 178.9 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.291, allocations: 0 / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.291, allocations: 0 / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.291, allocations: 7.938 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.2912, allocations: 253.3 kB / 0.9589 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2912, allocations: 3.984 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2913, allocations: 23.98 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2913, allocations: 0 / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2914, allocations: 4 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2914, allocations: 7.969 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2914, allocations: 0 / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.2918, allocations: 188.6 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.2919, allocations: 92.92 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.2919, allocations: 4 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.292, allocations: 19.97 kB / 0.9593 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.2921, allocations: 15.98 kB / 0.9593 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2921, allocations: 8 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.354e-05/0.2922, allocations: 133.1 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2922, allocations: 0 / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002579/0.2925, allocations: 43.84 kB / 0.9595 GB, free: 15.08 MB / 0.7481 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.0001737/0.2927, allocations: 115.8 kB / 0.9596 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.2932, allocations: 235.1 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2932, allocations: 0 / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.2934, allocations: 63.95 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.2937, allocations: 36.23 kB / 0.9599 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.2943, allocations: 303.8 kB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2946, allocations: 0.7242 MB / 0.9609 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.2947, allocations: 25.55 kB / 0.9609 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.2947, allocations: 15.44 kB / 0.9609 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2947, allocations: 0 / 0.9609 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.005802/0.3005, allocations: 2.356 MB / 0.9632 GB, free: 11.21 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches