Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",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.508/2.508, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.0016/0.001601, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009919/0.0009917, allocations: 91.94 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.238e-05/4.261e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2707, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8189/1.09, allocations: 149.6 MB / 1.365 GB, free: 4.504 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.09, allocations: 71.95 kB / 1.365 GB, free: 4.465 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003091/1.093, allocations: 0.8029 MB / 1.366 GB, free: 3.719 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.713e-06/1.093, allocations: 0 / 1.366 GB, free: 3.719 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.093, allocations: 0 / 1.366 GB, free: 3.719 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005837/1.094, allocations: 362.9 kB / 1.366 GB, free: 3.324 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.094, allocations: 8.031 kB / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/1.094, allocations: 37.73 kB / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/1.094, allocations: 8.688 kB / 1.366 GB, free: 3.266 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.094, allocations: 171 kB / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.094, allocations: 3.25 kB / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/1.094, allocations: 0 / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/1.094, allocations: 48.38 kB / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.094, allocations: 0 / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/1.094, allocations: 4 kB / 1.366 GB, free: 3.008 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.094, allocations: 0 / 1.366 GB, free: 3.008 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/1.094, allocations: 18.25 kB / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/1.095, allocations: 310 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.095, allocations: 33.39 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/1.095, allocations: 12.73 kB / 1.367 GB, free: 2.613 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/1.095, allocations: 3.984 kB / 1.367 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.095, allocations: 38.64 kB / 1.367 GB, free: 2.562 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/1.095, allocations: 0 / 1.367 GB, free: 2.562 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002295/1.096, allocations: 56.36 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.096, allocations: 61.33 kB / 1.367 GB, free: 2.438 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.096, allocations: 101.2 kB / 1.367 GB, free: 2.336 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.096, allocations: 29.7 kB / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/1.096, allocations: 83.45 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/1.096, allocations: 15.48 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/1.096, allocations: 0 / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.096, allocations: 318.8 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/1.096, allocations: 7.5 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/1.096, allocations: 11.62 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/1.096, allocations: 7.438 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.096, allocations: 4 kB / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001547/1.097, allocations: 48.25 kB / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.097, allocations: 13.5 kB / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.097, allocations: 0 / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.097, allocations: 0 / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/1.097, allocations: 19.98 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.097, allocations: 4.312 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/1.097, allocations: 19.94 kB / 1.368 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.097, allocations: 4.5 kB / 1.368 GB, free: 1.766 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.063e-05/1.097, allocations: 105 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/1.097, allocations: 7.906 kB / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/1.097, allocations: 7.969 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.097, allocations: 0 / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.097, allocations: 4 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/1.097, allocations: 0 / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/1.097, allocations: 168.5 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.097, allocations: 7.625 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/1.098, allocations: 23.97 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.098, allocations: 0 / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/1.098, allocations: 0 / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.098, allocations: 4 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.098, allocations: 7.984 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/1.098, allocations: 150.7 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/1.098, allocations: 81.02 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/1.098, allocations: 3.062 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/1.098, allocations: 15.98 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/1.098, allocations: 11.98 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/1.098, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.71e-05/1.098, allocations: 87.09 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/1.098, allocations: 0 / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003338/1.099, allocations: 7.938 kB / 1.368 GB, free: 1.02 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005785/1.099, allocations: 0.6921 MB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000138/1.1, allocations: 26.83 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.1, allocations: 0 / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/1.1, allocations: 15.69 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/1.1, allocations: 3.5 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/1.1, allocations: 109.4 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/1.101, allocations: 0.6809 MB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.61e-05/1.101, allocations: 4 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/1.101, allocations: 15.23 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.174e-06/1.101, allocations: 3.938 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/1.117, allocations: 1.287 MB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/1.117, allocations: 163.5 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/2.561, allocations: 4.062 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat does not exist to compare? outputFormat=mat