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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 196.3 kB / 16.53 MB, free: 6.391 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.529/2.529, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 71.39 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2419, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002007/0.244, allocations: 0.8732 MB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2453, allocations: 1.166 MB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.2454, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.2454, allocations: 7.875 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.2455, allocations: 23.78 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.2459, allocations: 138.2 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.2461, allocations: 155.7 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2462, allocations: 53.55 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.2463, allocations: 63.78 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.2464, allocations: 55.75 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.2464, allocations: 16 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.2465, allocations: 31.92 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.2465, allocations: 19.92 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.2466, allocations: 67.7 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2468, allocations: 167.7 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2468, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2468, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2468, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 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.0005674/0.2474, allocations: 448.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2474, allocations: 8.031 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.2475, allocations: 38.75 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.2475, allocations: 16.83 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.248, allocations: 236.8 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.248, allocations: 4.375 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.248, allocations: 12.38 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.2482, allocations: 95.66 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2483, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2483, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2483, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.2485, allocations: 67.95 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.249, allocations: 396.3 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.2492, allocations: 66.48 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2493, allocations: 36.97 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2493, allocations: 0 / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.2495, allocations: 87.34 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2495, allocations: 4 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003918/0.2499, allocations: 137.6 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.25, allocations: 55.41 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2501, allocations: 128.2 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2501, allocations: 33.7 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.2502, allocations: 107.9 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.2502, allocations: 23.7 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.2503, allocations: 37.7 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2504, allocations: 322.8 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2505, allocations: 43.97 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2507, allocations: 75.39 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.251, allocations: 141 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.251, allocations: 0 / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003981/0.2514, allocations: 203.2 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.2514, allocations: 37.64 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2514, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2514, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.2515, allocations: 15.98 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2516, allocations: 8.078 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2518, allocations: 39.8 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2518, allocations: 8 kB / 1.07 GB, free: 8.129 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 8.864e-05/0.2519, allocations: 121.9 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.2519, allocations: 11.84 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.2519, allocations: 12.36 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2519, allocations: 4 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2519, allocations: 0 / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.252, allocations: 3.984 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.2521, allocations: 193.6 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2521, allocations: 0 / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.2522, allocations: 23.98 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2522, allocations: 3.938 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2522, allocations: 0 / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2522, allocations: 0 / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2522, allocations: 0 / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.2525, allocations: 136.9 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.2526, allocations: 81.02 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.2526, allocations: 11.94 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.2526, allocations: 11.98 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2527, allocations: 0 / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.2527, allocations: 4 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.871e-05/0.2527, allocations: 99.27 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2528, allocations: 3.938 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002117/0.253, allocations: 31.92 kB / 1.07 GB, free: 7.293 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.0005425/0.2535, allocations: 0.6753 MB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.2539, allocations: 171.3 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2539, allocations: 192 / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.254, allocations: 47.91 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2542, allocations: 19.98 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2561, allocations: 1.634 MB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2564, allocations: 0.7002 MB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.893e-05/0.2564, allocations: 8.438 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.2565, allocations: 33.39 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2565, allocations: 0 / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.292/1.548, allocations: 2.807 MB / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.56, allocations: 8.797 kB / 1.076 GB, free: 1.203 MB / 0.8262 GB (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 --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) 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/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) Reference file matches