Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008133/0.0008133, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005554/0.005554, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004088, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8296, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001351/0.831, allocations: 0.5829 MB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.8329, allocations: 1.171 MB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.833, allocations: 7.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.833, allocations: 3.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.8331, allocations: 15.86 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.8338, allocations: 131.5 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.834, allocations: 139.7 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.8343, allocations: 45.55 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.8344, allocations: 51.84 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.8345, allocations: 47.75 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.8346, allocations: 7.938 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.8347, allocations: 19.98 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.8347, allocations: 11.92 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.8348, allocations: 73.48 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.8351, allocations: 157.4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8351, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8351, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8351, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008719/0.836, allocations: 432.9 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8361, allocations: 11.98 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.8362, allocations: 12.84 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.8369, allocations: 245.8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.837, allocations: 12.36 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.8371, allocations: 12.38 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.8374, allocations: 97.97 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8375, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.8375, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.8375, allocations: 7.984 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.8378, allocations: 75.95 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.8386, allocations: 404.3 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.8389, allocations: 66.48 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.839, allocations: 48.95 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.8391, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.8394, allocations: 87.36 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.465e-06/0.8394, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000641/0.84, allocations: 153.4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.8401, allocations: 51.41 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.8403, allocations: 128.4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.8403, allocations: 33.7 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.8404, allocations: 115.9 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.8405, allocations: 19.66 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.8406, allocations: 21.7 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.8408, allocations: 322.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.841, allocations: 47.97 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.8413, allocations: 87.33 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.8418, allocations: 137 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8418, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006137/0.8425, allocations: 203.1 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.8425, allocations: 37.69 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.8425, allocations: 4.031 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8426, allocations: 4 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.8427, allocations: 19.98 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8427, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.8431, allocations: 51.88 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.8431, allocations: 11.92 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.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): 9 * 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.0001503/0.8433, allocations: 122.3 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.8433, allocations: 7.906 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.8434, allocations: 16.31 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.8434, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8434, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.8434, allocations: 7.969 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.8436, allocations: 197.6 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8437, allocations: 4 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.8438, allocations: 15.98 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.8438, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.8438, allocations: 7.938 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8438, allocations: 0 / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8438, allocations: 0 / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.8442, allocations: 141 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.8443, allocations: 88.95 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.8444, allocations: 7.938 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.8445, allocations: 7.984 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.8445, allocations: 7.984 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.8446, allocations: 8 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.301e-05/0.8446, allocations: 103.3 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8447, allocations: 0 / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003782/0.845, allocations: 20 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0002382/0.8453, allocations: 111.2 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.8458, allocations: 175.3 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8459, allocations: 0 / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.8461, allocations: 47.89 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.8465, allocations: 19.98 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.8471, allocations: 237.4 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.8474, allocations: 0.7043 MB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.393e-05/0.8475, allocations: 8.438 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.8476, allocations: 11.44 kB / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8476, allocations: 0 / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of Templates: time 0.00598/0.8536, allocations: 1.409 MB / 1.032 GB, free: 6.598 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches