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.347/2.347, allocations: 393.5 MB / 408.4 MB, free: 11 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.001168/0.001168, allocations: 180 kB / 0.4901 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0008953/0.0008953, allocations: 100.7 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 11.12 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2848, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.4822, allocations: 150.9 MB / 1.377 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4826, allocations: 79.94 kB / 1.377 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007812/0.4904, allocations: 2.549 MB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.915e-06/0.4904, allocations: 0 / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.4905, allocations: 4 kB / 1.379 GB, free: 15.84 MB / 0.8855 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.000631/0.4911, allocations: 440.5 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.4912, allocations: 8.562 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.4912, allocations: 50.48 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.4913, allocations: 27.75 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4915, allocations: 169.9 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.4915, allocations: 11.94 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.4915, allocations: 8 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.4918, allocations: 106.5 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4918, allocations: 3.938 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.4919, allocations: 4 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4919, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.4921, allocations: 85.14 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.4929, allocations: 432.3 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4931, allocations: 74.55 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.4931, allocations: 0 / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.4934, allocations: 103.5 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.4934, allocations: 0 / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0004763/0.4939, allocations: 157.8 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4939, allocations: 51.41 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4941, allocations: 128.6 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.4941, allocations: 25.7 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.4942, allocations: 115.9 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.4942, allocations: 19.7 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.4943, allocations: 4 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4944, allocations: 318.8 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.4946, allocations: 55.97 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.4947, allocations: 86.47 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.4949, allocations: 81.67 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.4949, allocations: 0 / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004656/0.4954, allocations: 211.2 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.4955, allocations: 41.66 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4955, allocations: 80 / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4955, allocations: 0 / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4956, allocations: 27.98 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4956, allocations: 4.078 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.4959, allocations: 51.83 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4959, allocations: 4 kB / 1.382 GB, free: 12.74 MB / 0.8855 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 () * Number of clocked 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 0.0001125/0.496, allocations: 125.8 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.4961, allocations: 7.906 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.4961, allocations: 16.66 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4961, allocations: 4 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4961, allocations: 0 / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4961, allocations: 0 / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.4964, allocations: 193.6 kB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4964, allocations: 0 / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.4965, allocations: 23.92 kB / 1.382 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4965, allocations: 7.938 kB / 1.382 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.4965, allocations: 4 kB / 1.382 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4965, allocations: 7.938 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4965, allocations: 0 / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4968, allocations: 145 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.4969, allocations: 89 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.4969, allocations: 4 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.497, allocations: 8 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4971, allocations: 15.94 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4971, allocations: 0 / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.4971, allocations: 103.3 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4972, allocations: 4 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002514/0.4974, allocations: 31.92 kB / 1.383 GB, free: 11.87 MB / 0.8855 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 (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.000676/0.4981, allocations: 0.6951 MB / 1.383 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000399/0.4985, allocations: 187.2 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4985, allocations: 0 / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.4987, allocations: 48.09 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.4989, allocations: 20.55 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008865/0.4998, allocations: 0.7514 MB / 1.384 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.5001, allocations: 0.7004 MB / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.39e-05/0.5001, allocations: 7.984 kB / 1.385 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.5002, allocations: 27.42 kB / 1.385 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.5002, allocations: 3.938 kB / 1.385 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.5153, allocations: 2.509 MB / 1.388 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.5155, allocations: 222.9 kB / 1.388 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.168, allocations: 0 / 1.388 GB, free: 6.785 MB / 0.8855 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