Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009314, 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.007059/0.007059, allocations: 169.6 kB / 16.27 MB, free: 6.355 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.151/1.151, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.33/2.33, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002958, allocations: 8.688 kB / 0.903 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2553, allocations: 159.6 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001099/0.2565, allocations: 0.6076 MB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.258, allocations: 1.17 MB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.2581, allocations: 4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.2581, allocations: 3.938 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.2582, allocations: 15.84 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.2587, allocations: 138.1 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.2589, allocations: 131.7 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2591, allocations: 37.58 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2592, allocations: 51.83 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.2593, allocations: 51.7 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.2593, allocations: 4 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.865e-05/0.2594, allocations: 19.98 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.2594, allocations: 15.92 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.2595, allocations: 81.41 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.2597, allocations: 151.8 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2597, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.896e-06/0.2597, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2597, allocations: 3.938 kB / 1.061 GB, free: 2.324 MB / 0.8106 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.0005672/0.2603, allocations: 421 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2603, allocations: 8.031 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.2604, allocations: 38.75 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.2604, allocations: 12.84 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.2609, allocations: 256 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.261, allocations: 4.375 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.261, allocations: 12.38 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.2612, allocations: 99.31 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2612, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2613, allocations: 4 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2613, allocations: 8 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.2615, allocations: 71.95 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.262, allocations: 400.3 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.2622, allocations: 66.48 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2623, allocations: 44.97 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2624, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.2626, allocations: 87.36 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2626, allocations: 0 / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004387/0.2631, allocations: 157.4 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.2631, allocations: 55.39 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2632, allocations: 136.5 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2632, allocations: 29.7 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.2633, allocations: 107.9 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2633, allocations: 23.7 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.2634, allocations: 17.72 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.2635, allocations: 326.8 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2636, allocations: 51.95 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.2638, allocations: 79.41 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.2641, allocations: 141 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2641, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004121/0.2645, allocations: 207.1 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.2646, allocations: 41.58 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2646, allocations: 4.094 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2646, allocations: 0 / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2647, allocations: 19.98 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2647, allocations: 400 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2649, allocations: 55.83 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.265, allocations: 8 kB / 1.064 GB, free: 15.12 MB / 0.8262 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 9.455e-05/0.2651, allocations: 125.8 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.2651, allocations: 11.84 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.2651, allocations: 8.375 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2651, allocations: 7.984 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2651, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2651, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.2653, allocations: 201.6 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2653, allocations: 0 / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.2654, allocations: 15.98 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2654, allocations: 3.938 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2654, allocations: 0 / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.2654, allocations: 4.094 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2654, allocations: 3.938 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.2657, allocations: 144.9 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.2658, allocations: 85.02 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2658, allocations: 3.938 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.2658, allocations: 11.98 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.2659, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2659, allocations: 8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.266, allocations: 103.2 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/0.266, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002197/0.2662, allocations: 31.84 kB / 1.065 GB, free: 14.26 MB / 0.8262 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.0005404/0.2667, allocations: 0.6787 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.2671, allocations: 171.4 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2671, allocations: 4.062 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2672, allocations: 47.95 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.2675, allocations: 19.89 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.2694, allocations: 1.672 MB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.2696, allocations: 0.7005 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.554e-05/0.2696, allocations: 8.422 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.2697, allocations: 27.44 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2697, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.433/1.703, allocations: 2.538 MB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/1.703, allocations: 256.7 kB / 1.071 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/3.297, allocations: 0 / 1.071 GB, free: 8.195 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches