Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.257/2.257, 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.001058/0.001057, 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.435/1.435, 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.0009275/0.0009275, allocations: 90.77 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 12.31 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2958, allocations: 142.3 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.4811, allocations: 148.8 MB / 1.368 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4814, allocations: 75.89 kB / 1.368 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003672/0.4851, allocations: 1.4 MB / 1.37 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4851, allocations: 0 / 1.37 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.4852, allocations: 0 / 1.37 GB, free: 2.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005081/0.4857, allocations: 379.2 kB / 1.37 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4857, allocations: 12.03 kB / 1.37 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.4858, allocations: 30.56 kB / 1.37 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.4858, allocations: 3.906 kB / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4859, allocations: 174.9 kB / 1.37 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.486, allocations: 7.938 kB / 1.37 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.486, allocations: 8 kB / 1.37 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.4862, allocations: 73.64 kB / 1.37 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4863, allocations: 0 / 1.37 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4863, allocations: 11.98 kB / 1.37 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4863, allocations: 0 / 1.37 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.4866, allocations: 83.92 kB / 1.37 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.4871, allocations: 312.8 kB / 1.371 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.4873, allocations: 66.53 kB / 1.371 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.4874, allocations: 0 / 1.371 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4874, allocations: 30.56 kB / 1.371 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4874, allocations: 0 / 1.371 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000542/0.4879, allocations: 173.5 kB / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.488, allocations: 59.3 kB / 1.371 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.4881, allocations: 101 kB / 1.371 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4881, allocations: 25.7 kB / 1.371 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.4881, allocations: 92.11 kB / 1.371 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.4882, allocations: 11.91 kB / 1.371 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.4882, allocations: 0 / 1.371 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.4883, allocations: 310.8 kB / 1.372 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.4885, allocations: 43.95 kB / 1.372 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4886, allocations: 43.97 kB / 1.372 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4887, allocations: 43.97 kB / 1.372 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4887, allocations: 0 / 1.372 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003238/0.4891, allocations: 125.5 kB / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4891, allocations: 12.72 kB / 1.372 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4891, allocations: 0 / 1.372 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4891, allocations: 0 / 1.372 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4893, allocations: 19.98 kB / 1.372 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4893, allocations: 0 / 1.372 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.4894, allocations: 23.94 kB / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4894, allocations: 3.984 kB / 1.372 GB, free: 0.5273 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 (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 8.053e-05/0.4895, allocations: 113.8 kB / 1.372 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.4895, allocations: 4 kB / 1.372 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.4896, allocations: 3.906 kB / 1.372 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4896, allocations: 4 kB / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4896, allocations: 0 / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4896, allocations: 4 kB / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.4898, allocations: 177.5 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4898, allocations: 0 / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.4899, allocations: 19.98 kB / 1.372 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4899, allocations: 0 / 1.372 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4899, allocations: 3.938 kB / 1.372 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4899, allocations: 320 / 1.372 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4899, allocations: 0 / 1.372 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.4903, allocations: 227.4 kB / 1.372 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.4903, allocations: 81.48 kB / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4904, allocations: 0 / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4905, allocations: 15.98 kB / 1.373 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4905, allocations: 7.922 kB / 1.373 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4906, allocations: 11.98 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.4906, allocations: 87.27 kB / 1.373 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4906, allocations: 0 / 1.373 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002032/0.4908, allocations: 11.91 kB / 1.373 GB, free: 15.67 MB / 0.8855 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 (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.0007448/0.4916, allocations: 0.759 MB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.4919, allocations: 87.92 kB / 1.373 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4919, allocations: 0 / 1.373 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.4921, allocations: 51.95 kB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.4923, allocations: 5.375 kB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.4928, allocations: 170.2 kB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4931, allocations: 0.6809 MB / 1.374 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.4931, allocations: 3.938 kB / 1.374 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.4932, allocations: 19.42 kB / 1.374 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of SimCode: time 4.7e-07/0.4932, allocations: 0 / 1.374 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.506, allocations: 1.309 MB / 1.376 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.5062, allocations: 185.5 kB / 1.376 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.056, allocations: 0 / 1.376 GB, free: 12.39 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat does not exist to compare? outputFormat=mat