Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 106.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 71.88 kB / 1.104 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9705/0.973, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002356/0.9754, allocations: 0.877 MB / 1.27 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.9772, allocations: 1.176 MB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.9772, allocations: 0 / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.9773, allocations: 7.875 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.9774, allocations: 19.8 kB / 1.271 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.9779, allocations: 151 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.9781, allocations: 151.6 kB / 1.271 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.9783, allocations: 45.53 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.9784, allocations: 63.84 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.9785, allocations: 71.72 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.9786, allocations: 16 kB / 1.271 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.9787, allocations: 23.98 kB / 1.271 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.9787, allocations: 23.92 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.9788, allocations: 55.78 kB / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.979, allocations: 177.1 kB / 1.272 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.979, allocations: 0 / 1.272 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.264e-06/0.979, allocations: 0 / 1.272 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.9791, allocations: 0 / 1.272 GB, free: 2.281 MB / 0.9669 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.0007326/0.9798, allocations: 448.7 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9798, allocations: 8.031 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.9799, allocations: 42.75 kB / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.9799, allocations: 16.88 kB / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.9804, allocations: 228.3 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.9804, allocations: 8.375 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.9805, allocations: 16.36 kB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.9807, allocations: 101.7 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.9807, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.9808, allocations: 4 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9808, allocations: 0 / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.981, allocations: 63.95 kB / 1.272 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.9816, allocations: 404.5 kB / 1.273 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.9817, allocations: 58.48 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.9819, allocations: 32.97 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.9819, allocations: 0 / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.9821, allocations: 87.36 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.9821, allocations: 0 / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004334/0.9826, allocations: 129.7 kB / 1.273 GB, free: 492 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.9826, allocations: 59.33 kB / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.9828, allocations: 133.7 kB / 1.273 GB, free: 276 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.9828, allocations: 37.69 kB / 1.273 GB, free: 232 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.9829, allocations: 111.9 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.9829, allocations: 23.84 kB / 1.274 GB, free: 92 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.983, allocations: 37.7 kB / 1.274 GB, free: 48 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9831, allocations: 322.8 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.9833, allocations: 43.97 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.9834, allocations: 75.39 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.9837, allocations: 129 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9837, allocations: 0 / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004252/0.9841, allocations: 203.1 kB / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.9842, allocations: 43.52 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9842, allocations: 0 / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9842, allocations: 4 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.9843, allocations: 15.98 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.9843, allocations: 0 / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.9845, allocations: 43.94 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.9845, allocations: 4 kB / 1.274 GB, free: 15.12 MB / 0.9825 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.0001242/0.9847, allocations: 127.8 kB / 1.275 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.9847, allocations: 11.89 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.9847, allocations: 16.36 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9847, allocations: 0 / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9847, allocations: 0 / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.9847, allocations: 0 / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.985, allocations: 201.7 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.985, allocations: 3.938 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.985, allocations: 15.98 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.985, allocations: 3.938 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.9851, allocations: 4 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9851, allocations: 0 / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9851, allocations: 0 / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.9853, allocations: 133 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.9854, allocations: 89.05 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.9854, allocations: 3.938 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.9855, allocations: 4 kB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.9855, allocations: 15.92 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.9855, allocations: 0 / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.607e-05/0.9856, allocations: 97.23 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9856, allocations: 0 / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002327/0.9858, allocations: 31.94 kB / 1.275 GB, free: 14.28 MB / 0.9825 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.0006692/0.9865, allocations: 0.6826 MB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.9869, allocations: 147.4 kB / 1.276 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9869, allocations: 3.938 kB / 1.276 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.987, allocations: 36.67 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.9873, allocations: 18.77 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.9896, allocations: 1.658 MB / 1.278 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.9901, allocations: 0.704 MB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.451e-05/0.9902, allocations: 16.41 kB / 1.278 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.9902, allocations: 23.44 kB / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9902, allocations: 192 / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/1.017, allocations: 2.88 MB / 1.281 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/9.206, allocations: 4.5 kB / 1.281 GB, free: 8.145 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.386569890659302]