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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.248/2.248, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 91.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.235e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3027, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9481/1.251, allocations: 150.8 MB / 1.366 GB, free: 3.242 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.251, allocations: 79.8 kB / 1.366 GB, free: 3.195 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007439/1.259, allocations: 2.551 MB / 1.369 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.153e-06/1.259, allocations: 0 / 1.369 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.465e-06/1.259, allocations: 0 / 1.369 GB, free: 0.9844 MB / 0.823 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.0006049/1.259, allocations: 424.3 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.259, allocations: 8.031 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/1.259, allocations: 46.36 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/1.259, allocations: 20.73 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/1.26, allocations: 174.9 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/1.26, allocations: 7.875 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/1.26, allocations: 11.81 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/1.26, allocations: 91.45 kB / 1.37 GB, free: 156 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.26, allocations: 0 / 1.37 GB, free: 156 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/1.26, allocations: 0 / 1.37 GB, free: 156 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.26, allocations: 3.938 kB / 1.37 GB, free: 152 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/1.26, allocations: 48.19 kB / 1.37 GB, free: 120 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/1.261, allocations: 424.9 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/1.261, allocations: 60 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/1.261, allocations: 31.61 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/1.261, allocations: 176 / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/1.261, allocations: 81.09 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/1.261, allocations: 0 / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002464/1.261, allocations: 85.64 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.261, allocations: 59.41 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.262, allocations: 127.4 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/1.262, allocations: 29.69 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/1.262, allocations: 105.6 kB / 1.371 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/1.262, allocations: 27.14 kB / 1.371 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/1.262, allocations: 0 / 1.371 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.262, allocations: 322.1 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/1.262, allocations: 41.44 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/1.262, allocations: 68.77 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/1.262, allocations: 61.44 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.262, allocations: 4 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003051/1.262, allocations: 170.6 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/1.263, allocations: 44.64 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.263, allocations: 0 / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.263, allocations: 4.062 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/1.263, allocations: 23.92 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.263, allocations: 0 / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.263, allocations: 43.09 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/1.263, allocations: 12.14 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/1.263, allocations: 112 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/1.263, allocations: 7.906 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/1.263, allocations: 16.17 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.263, allocations: 3.938 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.263, allocations: 0 / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.263, allocations: 0 / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/1.263, allocations: 204 kB / 1.372 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.263, allocations: 0 / 1.372 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/1.263, allocations: 19.98 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.263, allocations: 0 / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/1.263, allocations: 3.125 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/1.263, allocations: 3.953 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.264, allocations: 7.938 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/1.264, allocations: 107.5 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/1.264, allocations: 83.77 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.264, allocations: 8 kB / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/1.264, allocations: 7.984 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/1.264, allocations: 14.38 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.264, allocations: 4 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.286e-05/1.264, allocations: 99.75 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.264, allocations: 0 / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002378/1.264, allocations: 43.31 kB / 1.372 GB, free: 13.61 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004957/1.265, allocations: 0.6708 MB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002585/1.265, allocations: 143.3 kB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.265, allocations: 4 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/1.265, allocations: 29.42 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/1.265, allocations: 22.88 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/1.266, allocations: 171.1 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/1.266, allocations: 0.7004 MB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.465e-05/1.266, allocations: 7.984 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/1.266, allocations: 24.5 kB / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.266, allocations: 4 kB / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/1.281, allocations: 2.564 MB / 1.376 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.281, allocations: 192.7 kB / 1.376 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.804, allocations: 0 / 1.376 GB, free: 9.262 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat