Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.00104/0.00104, allocations: 173.2 kB / 498.1 MB, free: 5.738 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.439/1.439, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0009161/0.0009165, allocations: 90.77 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003834, allocations: 9.844 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2572, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.434, allocations: 148.4 MB / 1.368 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4343, allocations: 71.95 kB / 1.368 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.000456/0.4347, allocations: 356.8 kB / 1.368 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4348, allocations: 0 / 1.368 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4348, allocations: 0 / 1.368 GB, free: 4.496 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.0003187/0.4351, allocations: 319.4 kB / 1.369 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4351, allocations: 11.97 kB / 1.369 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.4352, allocations: 30.56 kB / 1.369 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.4352, allocations: 3.984 kB / 1.369 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.4353, allocations: 167 kB / 1.369 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4353, allocations: 4 kB / 1.369 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.4354, allocations: 0 / 1.369 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.4354, allocations: 27.73 kB / 1.369 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4355, allocations: 4 kB / 1.369 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.4355, allocations: 0 / 1.369 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4355, allocations: 0 / 1.369 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.4355, allocations: 7.938 kB / 1.369 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.4357, allocations: 149.6 kB / 1.369 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.752e-05/0.4357, allocations: 22.52 kB / 1.369 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.4357, allocations: 4.094 kB / 1.369 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4357, allocations: 34.56 kB / 1.369 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4357, allocations: 0 / 1.369 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.4359, allocations: 29.7 kB / 1.369 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.4359, allocations: 55.34 kB / 1.369 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.672e-05/0.436, allocations: 85 kB / 1.369 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.436, allocations: 25.7 kB / 1.369 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.436, allocations: 80.14 kB / 1.369 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.4361, allocations: 7.906 kB / 1.369 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.4361, allocations: 4 kB / 1.369 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4362, allocations: 319 kB / 1.37 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.4362, allocations: 0 / 1.37 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.4362, allocations: 0 / 1.37 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.4363, allocations: 7.953 kB / 1.37 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4363, allocations: 0 / 1.37 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.342e-05/0.4363, allocations: 29.7 kB / 1.37 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4363, allocations: 4.781 kB / 1.37 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.4364, allocations: 0 / 1.37 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4364, allocations: 4.078 kB / 1.37 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.4364, allocations: 8 kB / 1.37 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4365, allocations: 3.938 kB / 1.37 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.4365, allocations: 288 / 1.37 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.4365, allocations: 0 / 1.37 GB, free: 2.859 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.152e-05/0.4366, allocations: 123.2 kB / 1.37 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.4366, allocations: 0 / 1.37 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.4366, allocations: 3.125 kB / 1.37 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4366, allocations: 0 / 1.37 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4366, allocations: 0 / 1.37 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4366, allocations: 4 kB / 1.37 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.814e-05/0.4367, allocations: 149.6 kB / 1.37 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4367, allocations: 7.953 kB / 1.37 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.4367, allocations: 7.984 kB / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.4367, allocations: 0 / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.4367, allocations: 3.938 kB / 1.37 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4367, allocations: 0 / 1.37 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4368, allocations: 0 / 1.37 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.087e-05/0.4368, allocations: 61.14 kB / 1.37 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.4369, allocations: 81.06 kB / 1.37 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.4369, allocations: 3.938 kB / 1.37 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.4369, allocations: 3.984 kB / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.4369, allocations: 0 / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.4369, allocations: 4 kB / 1.37 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.4369, allocations: 75.28 kB / 1.37 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.437, allocations: 0 / 1.37 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002065/0.4372, allocations: 0 / 1.37 GB, free: 2.246 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.0003214/0.4375, allocations: 0.6006 MB / 1.371 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.174e-05/0.4376, allocations: 7.938 kB / 1.371 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4376, allocations: 0 / 1.371 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.4376, allocations: 8 kB / 1.371 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.619e-05/0.4377, allocations: 5.469 kB / 1.371 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.438, allocations: 106.4 kB / 1.371 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.4382, allocations: 0.677 MB / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.306e-05/0.4382, allocations: 0 / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.4383, allocations: 11.31 kB / 1.372 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/0.4383, allocations: 0 / 1.372 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.4487, allocations: 0.7033 MB / 1.372 GB, free: 200 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.4489, allocations: 201.3 kB / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/1.886, allocations: 0 / 1.372 GB, free: 15.95 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat does not exist to compare? outputFormat=mat