Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.392/2.392, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001338/0.001338, allocations: 180 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.522/1.522, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008637/0.0008641, allocations: 104.6 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 11 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.4923, allocations: 155.5 MB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.4926, allocations: 96 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02267/0.5153, allocations: 7.91 MB / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5154, allocations: 0 / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.5154, allocations: 4 kB / 1.389 GB, free: 5.898 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.001053/0.5165, allocations: 0.5609 MB / 1.389 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5165, allocations: 11.97 kB / 1.39 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.809e-05/0.5166, allocations: 34.56 kB / 1.39 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.5167, allocations: 23.67 kB / 1.39 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/0.5174, allocations: 326.4 kB / 1.39 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.5176, allocations: 63.41 kB / 1.39 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.5176, allocations: 4 kB / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.5179, allocations: 93.61 kB / 1.39 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5179, allocations: 0 / 1.39 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.5179, allocations: 8 kB / 1.39 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5179, allocations: 0 / 1.39 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.5182, allocations: 127.7 kB / 1.39 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.5186, allocations: 237.4 kB / 1.39 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.5201, allocations: 362.4 kB / 1.391 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.5202, allocations: 93.09 kB / 1.391 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5203, allocations: 42.5 kB / 1.391 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5203, allocations: 0 / 1.391 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0005512/0.5208, allocations: 229.3 kB / 1.391 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.5209, allocations: 59.39 kB / 1.391 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.5212, allocations: 266.2 kB / 1.391 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.5212, allocations: 29.7 kB / 1.391 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.5213, allocations: 124.6 kB / 1.392 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.5213, allocations: 19.66 kB / 1.392 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.5214, allocations: 0 / 1.392 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5215, allocations: 342.8 kB / 1.392 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.5217, allocations: 135.9 kB / 1.392 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.5219, allocations: 143.9 kB / 1.392 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.5222, allocations: 148.8 kB / 1.392 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5222, allocations: 4 kB / 1.392 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005286/0.5227, allocations: 361 kB / 1.393 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5227, allocations: 14.03 kB / 1.393 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5228, allocations: 3.984 kB / 1.393 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5228, allocations: 0 / 1.393 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.5229, allocations: 19.98 kB / 1.393 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5229, allocations: 0 / 1.393 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.5231, allocations: 35.53 kB / 1.393 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5231, allocations: 8 kB / 1.393 GB, free: 1.785 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.000118/0.5232, allocations: 142.6 kB / 1.393 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.5233, allocations: 19.97 kB / 1.393 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.5237, allocations: 207.5 kB / 1.393 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5237, allocations: 0 / 1.393 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5237, allocations: 4 kB / 1.393 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5238, allocations: 4 kB / 1.393 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.524, allocations: 229.5 kB / 1.393 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.524, allocations: 0 / 1.393 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5241, allocations: 20 kB / 1.393 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5241, allocations: 0 / 1.393 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5241, allocations: 3.984 kB / 1.393 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5241, allocations: 0 / 1.393 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5241, allocations: 7.984 kB / 1.393 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.5245, allocations: 204.6 kB / 1.394 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5246, allocations: 116.7 kB / 1.394 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.5246, allocations: 0 / 1.394 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.5247, allocations: 15.92 kB / 1.394 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.5248, allocations: 4 kB / 1.394 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.5248, allocations: 11.98 kB / 1.394 GB, free: 0.7148 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001696/0.525, allocations: 193.9 kB / 1.394 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.525, allocations: 0 / 1.394 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005432/0.5255, allocations: 139.9 kB / 1.394 GB, free: 400 kB / 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.001076/0.5266, allocations: 0.8518 MB / 1.395 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.5271, allocations: 363.1 kB / 1.395 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5272, allocations: 0 / 1.395 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.5273, allocations: 60.16 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.5276, allocations: 39.06 kB / 1.395 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.5285, allocations: 0.7244 MB / 1.396 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.5288, allocations: 0.7439 MB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.529, allocations: 25.02 kB / 1.397 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.529, allocations: 59.41 kB / 1.397 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.5291, allocations: 0 / 1.397 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.5496, allocations: 5.86 MB / 1.402 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.5498, allocations: 201.3 kB / 1.403 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.472, allocations: 4.625 kB / 1.403 GB, free: 7.52 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat does not exist to compare? outputFormat=mat