Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",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.625/2.625, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.00117/0.00117, allocations: 182.7 kB / 0.4901 GB, free: 2.242 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.492/1.492, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009125/0.0009126, allocations: 104.1 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 10.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2898, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.4783, allocations: 149.1 MB / 1.375 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4786, allocations: 67.95 kB / 1.375 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005021/0.4791, allocations: 360.9 kB / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4792, allocations: 0 / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4792, allocations: 4 kB / 1.375 GB, free: 3.859 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002711/0.4794, allocations: 320 kB / 1.376 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.4795, allocations: 12.09 kB / 1.376 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.4796, allocations: 30.56 kB / 1.376 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.4796, allocations: 3.938 kB / 1.376 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4797, allocations: 163 kB / 1.376 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4797, allocations: 0 / 1.376 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.4798, allocations: 0 / 1.376 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.4799, allocations: 34.56 kB / 1.376 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.4799, allocations: 4 kB / 1.376 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.4799, allocations: 3.984 kB / 1.376 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4799, allocations: 0 / 1.376 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.4799, allocations: 0 / 1.376 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.4801, allocations: 149.6 kB / 1.376 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.4801, allocations: 18.61 kB / 1.376 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.4802, allocations: 0 / 1.376 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4802, allocations: 38.56 kB / 1.376 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.4802, allocations: 0 / 1.376 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.4803, allocations: 37.69 kB / 1.376 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.4804, allocations: 55.41 kB / 1.376 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.126e-05/0.4804, allocations: 85 kB / 1.376 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.4804, allocations: 25.7 kB / 1.376 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.4805, allocations: 80.14 kB / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4805, allocations: 0 / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.4805, allocations: 3.938 kB / 1.376 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4806, allocations: 315 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.4807, allocations: 4 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-06/0.4807, allocations: 4 kB / 1.377 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.702e-05/0.4807, allocations: 3.953 kB / 1.377 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4807, allocations: 0 / 1.377 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.312e-05/0.4808, allocations: 29.7 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4808, allocations: 11.98 kB / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4808, allocations: 0 / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4808, allocations: 4.094 kB / 1.377 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.4809, allocations: 3.938 kB / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.4809, allocations: 0 / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.4809, allocations: 8 kB / 1.377 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4809, allocations: 3.984 kB / 1.377 GB, free: 2.219 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.312e-05/0.481, allocations: 110.6 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/0.481, allocations: 0 / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.4811, allocations: 11.06 kB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4811, allocations: 0 / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4811, allocations: 8 kB / 1.377 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4811, allocations: 0 / 1.377 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.4812, allocations: 145.7 kB / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4812, allocations: 3.953 kB / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.4812, allocations: 0 / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4812, allocations: 0 / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.4812, allocations: 4 kB / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4812, allocations: 0 / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4812, allocations: 0 / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.531e-05/0.4813, allocations: 69.02 kB / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.4814, allocations: 85 kB / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.4814, allocations: 4 kB / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-06/0.4814, allocations: 0 / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.4814, allocations: 0 / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.4814, allocations: 0 / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.4815, allocations: 75.28 kB / 1.377 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4815, allocations: 0 / 1.377 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002064/0.4817, allocations: 0 / 1.377 GB, free: 1.621 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (1): * Single equations (assignments): 1 * 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.0004423/0.4821, allocations: 0.6024 MB / 1.378 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.4822, allocations: 3.938 kB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4822, allocations: 0 / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.4822, allocations: 4.094 kB / 1.378 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.459e-05/0.4823, allocations: 8 kB / 1.378 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.4827, allocations: 114.6 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.4829, allocations: 0.6808 MB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.483, allocations: 0 / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.483, allocations: 7.438 kB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/0.483, allocations: 0 / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.496, allocations: 0.7115 MB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.4963, allocations: 214.8 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.986, allocations: 0 / 1.38 GB, free: 15.31 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat does not exist to compare? outputFormat=mat