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.004528/0.004528, allocations: 98.97 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.001362/0.001362, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.474/2.474, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 63.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2457, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001777/0.2475, allocations: 0.8779 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2488, allocations: 1.166 MB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.2489, allocations: 4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.2489, allocations: 11.88 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.249, allocations: 11.86 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2494, allocations: 147.2 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.2496, allocations: 163.6 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2497, allocations: 41.58 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.2498, allocations: 63.83 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.2499, allocations: 63.73 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.25, allocations: 16 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.2501, allocations: 31.92 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.2501, allocations: 31.91 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.2502, allocations: 59.72 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.2504, allocations: 163.4 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2504, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2504, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2504, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 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.0005615/0.251, allocations: 444.7 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.251, allocations: 8.031 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.251, allocations: 50.73 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.2511, allocations: 12.89 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.2515, allocations: 236.3 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2515, allocations: 4.375 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.2516, allocations: 12.38 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.2518, allocations: 105.7 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2518, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2518, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2518, allocations: 3.938 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.252, allocations: 67.94 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.2525, allocations: 388.5 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.2527, allocations: 74.48 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2528, allocations: 32.97 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2528, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.253, allocations: 95.28 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.253, allocations: 7.938 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003904/0.2534, allocations: 133.7 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2535, allocations: 55.41 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.2536, allocations: 131.5 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.2536, allocations: 33.7 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.2537, allocations: 108 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2537, allocations: 19.84 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.2538, allocations: 41.7 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2539, allocations: 322.8 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2541, allocations: 47.95 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2542, allocations: 75.34 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.2545, allocations: 129 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2545, allocations: 0 / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003897/0.2549, allocations: 195.2 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.2549, allocations: 41.73 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2549, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.2549, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.255, allocations: 19.92 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2551, allocations: 4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2553, allocations: 39.84 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2553, allocations: 8 kB / 1.226 GB, free: 8.23 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 9.393e-05/0.2554, allocations: 130.4 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.2554, allocations: 11.89 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.2554, allocations: 8.375 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2554, allocations: 4 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2554, allocations: 0 / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2555, allocations: 0 / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.2556, allocations: 197.6 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2556, allocations: 0 / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.2557, allocations: 19.92 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2557, allocations: 7.938 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2557, allocations: 0 / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2557, allocations: 0 / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2557, allocations: 3.938 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.256, allocations: 133 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.256, allocations: 81.06 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2561, allocations: 7.938 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.2561, allocations: 15.98 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.2562, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.2562, allocations: 8 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.2562, allocations: 101.9 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2562, allocations: 0 / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000207/0.2565, allocations: 27.92 kB / 1.227 GB, free: 7.387 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.0005508/0.257, allocations: 0.6787 MB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.2574, allocations: 167.3 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.2574, allocations: 0 / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2575, allocations: 48.09 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.2577, allocations: 16.84 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.2595, allocations: 1.649 MB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.2598, allocations: 0.7002 MB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.751e-05/0.2598, allocations: 16.41 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.2599, allocations: 31.42 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of SimCode: time 1.853e-06/0.2599, allocations: 0 / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.077/1.337, allocations: 2.852 MB / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.36, allocations: 8.312 kB / 1.233 GB, free: 1.254 MB / 0.9825 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