Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.701/2.701, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001693/0.001693, allocations: 191.1 kB / 0.4901 GB, free: 2.238 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.837/1.837, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.001201/0.001201, allocations: 104 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 13.75 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3308, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/0.5476, allocations: 155.5 MB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.5481, allocations: 99.92 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02501/0.5731, allocations: 8.866 MB / 1.39 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5732, allocations: 4 kB / 1.39 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.057e-05/0.5732, allocations: 8 kB / 1.39 GB, free: 4.91 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001293/0.5745, allocations: 0.7589 MB / 1.391 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5746, allocations: 12.03 kB / 1.391 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.748e-05/0.5747, allocations: 62.53 kB / 1.391 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5748, allocations: 63.34 kB / 1.391 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.5756, allocations: 465.3 kB / 1.391 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5756, allocations: 24.66 kB / 1.391 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.5757, allocations: 31.98 kB / 1.391 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.5765, allocations: 428.5 kB / 1.392 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5765, allocations: 0 / 1.392 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.5765, allocations: 15.95 kB / 1.392 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.5766, allocations: 8 kB / 1.392 GB, free: 2.926 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.5773, allocations: 337.9 kB / 1.392 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.5794, allocations: 1.561 MB / 1.394 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.5802, allocations: 374.8 kB / 1.394 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.5803, allocations: 3.984 kB / 1.394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5803, allocations: 38.56 kB / 1.394 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.5803, allocations: 0 / 1.394 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.001059/0.5814, allocations: 484.4 kB / 1.394 GB, free: 60 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.5816, allocations: 158.2 kB / 1.395 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.582, allocations: 373.1 kB / 1.395 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.5821, allocations: 41.64 kB / 1.395 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.5823, allocations: 248.2 kB / 1.395 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.5824, allocations: 86.75 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.5824, allocations: 4 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5826, allocations: 354.8 kB / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.5829, allocations: 131.9 kB / 1.396 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.5833, allocations: 222.1 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.5837, allocations: 149.6 kB / 1.396 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5837, allocations: 0 / 1.396 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007946/0.5845, allocations: 406.1 kB / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5845, allocations: 10.03 kB / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5845, allocations: 0 / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.5846, allocations: 4 kB / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.5849, allocations: 76.08 kB / 1.397 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5849, allocations: 0 / 1.397 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.5852, allocations: 59.72 kB / 1.397 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.5853, allocations: 8 kB / 1.397 GB, free: 13.68 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0002717/0.5855, allocations: 173.8 kB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.5856, allocations: 47.39 kB / 1.397 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.5857, allocations: 56 kB / 1.397 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5857, allocations: 0 / 1.397 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5858, allocations: 0 / 1.397 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5858, allocations: 0 / 1.397 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.5864, allocations: 485.1 kB / 1.397 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5864, allocations: 0 / 1.397 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.5867, allocations: 67.95 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5867, allocations: 0 / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5867, allocations: 3.953 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5867, allocations: 4 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5868, allocations: 0 / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.5879, allocations: 0.6274 MB / 1.398 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.5881, allocations: 160.7 kB / 1.398 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.5882, allocations: 4 kB / 1.398 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.5884, allocations: 43.86 kB / 1.398 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.5885, allocations: 15.98 kB / 1.398 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.5885, allocations: 7.984 kB / 1.398 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003679/0.5889, allocations: 303.1 kB / 1.399 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5889, allocations: 0 / 1.399 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003595/0.5893, allocations: 75.75 kB / 1.399 GB, free: 11.54 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001506/0.5908, allocations: 1.171 MB / 1.4 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.5915, allocations: 316.4 kB / 1.4 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5916, allocations: 0 / 1.4 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.5919, allocations: 159.9 kB / 1.4 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.5926, allocations: 109.2 kB / 1.4 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.5973, allocations: 3.447 MB / 1.404 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.5979, allocations: 0.8268 MB / 1.404 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000265/0.5981, allocations: 55.25 kB / 1.405 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.5984, allocations: 151.4 kB / 1.405 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of SimCode: time 1.062e-06/0.5984, allocations: 0 / 1.405 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.6234, allocations: 8.554 MB / 1.413 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/0.6237, allocations: 217.6 kB / 1.413 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.969, allocations: 0 / 1.413 GB, free: 12.65 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat