Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008079/0.008078, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.002007/0.002007, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 68.23 kB / 0.9505 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2361, allocations: 140.4 MB / 1.088 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001978/0.2381, allocations: 0.8843 MB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2396, allocations: 1.157 MB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.2397, allocations: 0 / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.2397, allocations: 7.875 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.2398, allocations: 11.88 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.2403, allocations: 147.3 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.2405, allocations: 159.7 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2407, allocations: 49.55 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2408, allocations: 59.84 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2409, allocations: 67.72 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.2409, allocations: 12 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.241, allocations: 28 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.241, allocations: 19.92 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.2411, allocations: 67.7 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.2414, allocations: 170.2 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2414, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2414, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2414, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 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.0006063/0.242, allocations: 445.7 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.242, allocations: 8.031 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.2421, allocations: 38.75 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.2422, allocations: 12.84 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.2426, allocations: 236.3 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2426, allocations: 8.375 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.2427, allocations: 12.38 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.2429, allocations: 93.77 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2429, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2429, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2429, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.2432, allocations: 71.89 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.2437, allocations: 392.3 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.2438, allocations: 66.48 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.244, allocations: 44.94 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.244, allocations: 0 / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.2442, allocations: 79.38 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/0.2442, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004241/0.2446, allocations: 149.3 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.2447, allocations: 55.41 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2448, allocations: 129.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2448, allocations: 29.7 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.2449, allocations: 107.9 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2449, allocations: 19.72 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.245, allocations: 37.69 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.2451, allocations: 318.8 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2452, allocations: 51.95 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2454, allocations: 67.41 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.2457, allocations: 133 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2457, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004075/0.2461, allocations: 199.1 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.2461, allocations: 37.64 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2462, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.2462, allocations: 7.984 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2463, allocations: 16.09 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2463, allocations: 3.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2465, allocations: 39.8 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.2465, allocations: 8 kB / 1.093 GB, free: 12 MB / 0.8575 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.436e-05/0.2466, allocations: 125.9 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.2467, allocations: 11.84 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2467, allocations: 12.38 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2467, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2467, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2467, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.2469, allocations: 197.6 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2469, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.247, allocations: 19.98 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.247, allocations: 3.938 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.247, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.247, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.247, allocations: 3.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2473, allocations: 140.9 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.2473, allocations: 81.02 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2474, allocations: 7.938 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.2474, allocations: 7.984 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.2475, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2475, allocations: 8 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.2475, allocations: 105 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2476, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002272/0.2478, allocations: 23.98 kB / 1.094 GB, free: 11.17 MB / 0.8575 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.0005666/0.2484, allocations: 0.6874 MB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.2487, allocations: 163.3 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2487, allocations: 0 / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.2489, allocations: 39.97 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2491, allocations: 24.17 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.251, allocations: 1.634 MB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2512, allocations: 0.6963 MB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.9e-05/0.2513, allocations: 12.42 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2513, allocations: 23.44 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2514, allocations: 0 / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.429/0.6803, allocations: 2.859 MB / 1.1 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/9.101, allocations: 448 / 1.1 GB, free: 5.055 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches