Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.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.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",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.495/2.495, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001114/0.001114, allocations: 176 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.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009652/0.0009652, allocations: 106 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 10.62 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2954, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.4808, allocations: 149.6 MB / 1.375 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4811, allocations: 71.95 kB / 1.375 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001758/0.4829, allocations: 0.6657 MB / 1.376 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4829, allocations: 0 / 1.376 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4829, allocations: 0 / 1.376 GB, free: 3.137 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00038/0.4833, allocations: 335.4 kB / 1.376 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4833, allocations: 16.44 kB / 1.376 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.4834, allocations: 42.5 kB / 1.376 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.4834, allocations: 3.906 kB / 1.376 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.4836, allocations: 175 kB / 1.377 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.4836, allocations: 0 / 1.377 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4836, allocations: 0 / 1.377 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4838, allocations: 57.66 kB / 1.377 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.4838, allocations: 0 / 1.377 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.4838, allocations: 4 kB / 1.377 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4838, allocations: 4 kB / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.484, allocations: 39.97 kB / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.4844, allocations: 272.8 kB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.4845, allocations: 38.56 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.4845, allocations: 0 / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4846, allocations: 34.56 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4846, allocations: 0 / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003467/0.4849, allocations: 101.6 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.485, allocations: 55.53 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.4851, allocations: 100.9 kB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.4851, allocations: 25.7 kB / 1.377 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.4851, allocations: 80.14 kB / 1.377 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.4851, allocations: 3.906 kB / 1.377 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.4852, allocations: 4 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4853, allocations: 314.8 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.4854, allocations: 23.97 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.4855, allocations: 23.98 kB / 1.378 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.783e-05/0.4855, allocations: 15.98 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4855, allocations: 4.062 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.4858, allocations: 77.66 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4858, allocations: 7.938 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.4858, allocations: 0 / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.4858, allocations: 0 / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.4859, allocations: 16.02 kB / 1.378 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4859, allocations: 0 / 1.378 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.486, allocations: 11.91 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.486, allocations: 3.953 kB / 1.378 GB, free: 1.062 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 (2): * Single equations (assignments): 2 * 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.09e-05/0.4861, allocations: 117.8 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.4861, allocations: 4 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.4863, allocations: 84.78 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4863, allocations: 0 / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4863, allocations: 0 / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4863, allocations: 0 / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.4865, allocations: 165.5 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4865, allocations: 7.984 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.4866, allocations: 15.97 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4866, allocations: 0 / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4866, allocations: 4 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4866, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4866, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4869, allocations: 171.5 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.4869, allocations: 81.09 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.4869, allocations: 4 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.487, allocations: 8 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.4871, allocations: 3.984 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4871, allocations: 8.031 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.028e-05/0.4871, allocations: 75.28 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4871, allocations: 0 / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001956/0.4873, allocations: 4 kB / 1.379 GB, free: 232 kB / 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 (2): * Single equations (assignments): 2 * 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.000558/0.4879, allocations: 0.7148 MB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.4881, allocations: 51.98 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4881, allocations: 0 / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.4882, allocations: 27.92 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.4884, allocations: 8.625 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.4888, allocations: 145.5 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.489, allocations: 0.6773 MB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.489, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.4891, allocations: 11.44 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.4891, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.501, allocations: 1.004 MB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.5012, allocations: 190.2 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.045, allocations: 3.938 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat does not exist to compare? outputFormat=mat