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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004917/0.004917, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001385/0.001385, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.619/2.619, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 75.78 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2645, allocations: 162.3 MB / 1.242 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001731/0.2663, allocations: 0.8671 MB / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2676, allocations: 1.17 MB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.2676, allocations: 4 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.2677, allocations: 11.86 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.2677, allocations: 15.86 kB / 1.244 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.2682, allocations: 147.3 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.2683, allocations: 159.7 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2685, allocations: 49.53 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.2686, allocations: 59.84 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.2687, allocations: 67.73 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.2687, allocations: 12 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.2688, allocations: 31.98 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.2688, allocations: 19.92 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.2689, allocations: 67.66 kB / 1.245 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.2691, allocations: 171.4 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2691, allocations: 0 / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2691, allocations: 0 / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2691, allocations: 0 / 1.245 GB, free: 6.891 MB / 0.9981 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.0005584/0.2697, allocations: 448.7 kB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.2697, allocations: 8.031 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.2697, allocations: 42.69 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2698, allocations: 16.84 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2702, allocations: 236.3 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2702, allocations: 8.375 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2702, allocations: 16.38 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.2704, allocations: 95.31 kB / 1.246 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2705, allocations: 0 / 1.246 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2705, allocations: 4 kB / 1.246 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2705, allocations: 4 kB / 1.246 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.2707, allocations: 63.89 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.2711, allocations: 400.4 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2713, allocations: 62.55 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2714, allocations: 44.89 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2714, allocations: 0 / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.2716, allocations: 79.38 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.2717, allocations: 0 / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0003846/0.272, allocations: 145.6 kB / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.2721, allocations: 51.41 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.2722, allocations: 129.8 kB / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2722, allocations: 33.7 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.2723, allocations: 115.9 kB / 1.247 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2723, allocations: 23.84 kB / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.2724, allocations: 37.7 kB / 1.247 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2725, allocations: 318.8 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2727, allocations: 47.97 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2728, allocations: 79.33 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.2731, allocations: 133 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2731, allocations: 0 / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003938/0.2735, allocations: 199.2 kB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.2735, allocations: 47.19 kB / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2735, allocations: 0 / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.2735, allocations: 0 / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.2736, allocations: 19.92 kB / 1.247 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2737, allocations: 4 kB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2738, allocations: 36 kB / 1.248 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2739, allocations: 7.984 kB / 1.248 GB, free: 3.715 MB / 0.9981 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.117e-05/0.274, allocations: 121.8 kB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.274, allocations: 11.89 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.274, allocations: 8.375 kB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.274, allocations: 0 / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.274, allocations: 4 kB / 1.248 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.274, allocations: 3.984 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.2742, allocations: 201.6 kB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2742, allocations: 0 / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.2743, allocations: 11.98 kB / 1.248 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2743, allocations: 11.88 kB / 1.248 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2743, allocations: 4 kB / 1.248 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2743, allocations: 3.938 kB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2743, allocations: 0 / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.2746, allocations: 133 kB / 1.248 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2746, allocations: 81.06 kB / 1.248 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2746, allocations: 3.938 kB / 1.248 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.2747, allocations: 7.984 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2747, allocations: 11.98 kB / 1.248 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2748, allocations: 4 kB / 1.248 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.2748, allocations: 98.36 kB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 0 / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002001/0.275, allocations: 27.94 kB / 1.248 GB, free: 2.887 MB / 0.9981 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.0005308/0.2756, allocations: 0.6835 MB / 1.249 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.2759, allocations: 175.3 kB / 1.249 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2759, allocations: 0 / 1.249 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.276, allocations: 35.98 kB / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.2762, allocations: 27.91 kB / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.2781, allocations: 1.632 MB / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4202/0.6983, allocations: 0.6955 MB / 1.251 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.315e-05/0.6984, allocations: 10.58 kB / 1.251 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.6985, allocations: 27.94 kB / 1.251 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.6985, allocations: 0.5625 kB / 1.251 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.684/3.383, allocations: 2.859 MB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/17.01, allocations: 14.58 kB / 1.254 GB, free: 13.86 MB / 0.9981 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=400 --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