Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.216/2.216, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001357/0.001357, allocations: 173 kB / 498.1 MB, free: 5.727 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.571/1.571, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0009092/0.0009094, allocations: 90.53 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 8.719 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2657, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.4524, allocations: 154.7 MB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000453/0.4529, allocations: 99.94 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02304/0.476, allocations: 7.895 MB / 1.382 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/0.476, allocations: 0 / 1.382 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.476, allocations: 4 kB / 1.382 GB, free: 15.19 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001068/0.4771, allocations: 0.5605 MB / 1.382 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4772, allocations: 8.031 kB / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.4772, allocations: 38.56 kB / 1.382 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.4773, allocations: 27.61 kB / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.478, allocations: 330.3 kB / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4781, allocations: 67.39 kB / 1.383 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.4781, allocations: 0 / 1.383 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.4784, allocations: 102.6 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4784, allocations: 4 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4784, allocations: 0 / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4784, allocations: 0 / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.4787, allocations: 123.8 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.479, allocations: 237.5 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.4805, allocations: 358.2 kB / 1.384 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.4806, allocations: 101.1 kB / 1.384 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4807, allocations: 30.56 kB / 1.384 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4807, allocations: 0 / 1.384 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0005435/0.4812, allocations: 229.4 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4813, allocations: 55.34 kB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.4815, allocations: 274.2 kB / 1.384 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.4816, allocations: 29.69 kB / 1.384 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.4817, allocations: 120.6 kB / 1.384 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.4817, allocations: 23.7 kB / 1.384 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.4817, allocations: 0 / 1.384 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4819, allocations: 334.8 kB / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.4821, allocations: 139.9 kB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.4823, allocations: 151.7 kB / 1.385 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.4826, allocations: 147.9 kB / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4826, allocations: 0 / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000567/0.4832, allocations: 369.2 kB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4832, allocations: 5.25 kB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.4832, allocations: 4 kB / 1.386 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4832, allocations: 0 / 1.386 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4834, allocations: 19.92 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4834, allocations: 4 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.4835, allocations: 35.53 kB / 1.386 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.4835, allocations: 11.98 kB / 1.386 GB, free: 11.06 MB / 0.8855 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001271/0.4837, allocations: 133.8 kB / 1.386 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.4837, allocations: 19.72 kB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.4842, allocations: 207.4 kB / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4842, allocations: 4 kB / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4842, allocations: 0 / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4842, allocations: 3.938 kB / 1.386 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.4845, allocations: 237.3 kB / 1.386 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4845, allocations: 0 / 1.386 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4846, allocations: 23.92 kB / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4846, allocations: 0 / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4846, allocations: 8 kB / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4846, allocations: 0 / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4846, allocations: 0 / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.485, allocations: 205 kB / 1.386 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4851, allocations: 112.8 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.4852, allocations: 4 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.4853, allocations: 8 kB / 1.387 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.4853, allocations: 11.92 kB / 1.387 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.4853, allocations: 4 kB / 1.387 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001774/0.4855, allocations: 197.9 kB / 1.387 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4855, allocations: 0 / 1.387 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005084/0.486, allocations: 139.9 kB / 1.387 GB, free: 9.664 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 (6): * Single equations (assignments): 6 * 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.001099/0.4872, allocations: 0.8502 MB / 1.388 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005709/0.4877, allocations: 367 kB / 1.388 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4878, allocations: 7.938 kB / 1.388 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.4879, allocations: 55.97 kB / 1.388 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.4882, allocations: 43.62 kB / 1.388 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4892, allocations: 0.7169 MB / 1.389 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4896, allocations: 0.7399 MB / 1.39 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.931e-05/0.4897, allocations: 17.08 kB / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.4898, allocations: 55.42 kB / 1.39 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.4898, allocations: 0 / 1.39 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.5101, allocations: 5.864 MB / 1.395 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.5104, allocations: 204.1 kB / 1.396 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.326, allocations: 7.875 kB / 1.396 GB, free: 0.8047 MB / 0.8855 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat does not exist to compare? outputFormat=mat