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.147/2.147, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001043/0.001044, allocations: 176.8 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.368/1.368, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0008753/0.0008753, allocations: 91.89 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.091e-05, allocations: 11.98 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2218, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7747/0.9966, allocations: 155.5 MB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.9969, allocations: 100.3 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02268/1.02, allocations: 7.894 MB / 1.378 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.02, allocations: 0 / 1.378 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.02, allocations: 4 kB / 1.378 GB, free: 7.617 MB / 0.8386 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.0007231/1.02, allocations: 0.5065 MB / 1.379 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.02, allocations: 8.031 kB / 1.379 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/1.021, allocations: 42.55 kB / 1.379 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/1.021, allocations: 23.67 kB / 1.379 GB, free: 7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/1.021, allocations: 318 kB / 1.379 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/1.021, allocations: 67.33 kB / 1.379 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/1.021, allocations: 4 kB / 1.379 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/1.022, allocations: 85.12 kB / 1.379 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.022, allocations: 4 kB / 1.379 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/1.022, allocations: 3.938 kB / 1.379 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.022, allocations: 0 / 1.379 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/1.022, allocations: 100.9 kB / 1.38 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/1.022, allocations: 247.8 kB / 1.38 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.023, allocations: 331.6 kB / 1.38 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/1.023, allocations: 50.64 kB / 1.38 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/1.024, allocations: 105.1 kB / 1.38 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/1.024, allocations: 30.56 kB / 1.38 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/1.024, allocations: 0 / 1.38 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003013/1.024, allocations: 151 kB / 1.38 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/1.024, allocations: 59.41 kB / 1.381 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/1.024, allocations: 260.7 kB / 1.381 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.024, allocations: 25.7 kB / 1.381 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/1.024, allocations: 123 kB / 1.381 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/1.024, allocations: 23.22 kB / 1.381 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/1.024, allocations: 0 / 1.381 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.025, allocations: 340.3 kB / 1.381 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/1.025, allocations: 125.1 kB / 1.381 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/1.025, allocations: 134.8 kB / 1.381 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/1.025, allocations: 140.8 kB / 1.382 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.025, allocations: 0 / 1.382 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004118/1.025, allocations: 344.3 kB / 1.382 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.025, allocations: 4 kB / 1.382 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.026, allocations: 3.984 kB / 1.382 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.026, allocations: 4 kB / 1.382 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/1.026, allocations: 12 kB / 1.382 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.026, allocations: 3.984 kB / 1.382 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/1.026, allocations: 39.53 kB / 1.382 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/1.026, allocations: 8 kB / 1.382 GB, free: 4.102 MB / 0.8386 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 (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 7.387e-05/1.026, allocations: 108.8 kB / 1.382 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/1.026, allocations: 23.62 kB / 1.382 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/1.026, allocations: 188.9 kB / 1.382 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.026, allocations: 128 / 1.382 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.026, allocations: 4 kB / 1.382 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.026, allocations: 8 kB / 1.382 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.027, allocations: 225.4 kB / 1.383 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.027, allocations: 0 / 1.383 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/1.027, allocations: 19.98 kB / 1.383 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.027, allocations: 0 / 1.383 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/1.027, allocations: 0 / 1.383 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.027, allocations: 3.938 kB / 1.383 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.027, allocations: 4 kB / 1.383 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/1.027, allocations: 191.1 kB / 1.383 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.027, allocations: 107.8 kB / 1.383 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/1.027, allocations: 4 kB / 1.383 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/1.027, allocations: 11.92 kB / 1.383 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/1.027, allocations: 4 kB / 1.383 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/1.027, allocations: 7.984 kB / 1.383 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001591/1.027, allocations: 188.3 kB / 1.383 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.027, allocations: 4 kB / 1.383 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003958/1.028, allocations: 143.5 kB / 1.383 GB, free: 2.887 MB / 0.8386 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 (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.000831/1.029, allocations: 0.8323 MB / 1.384 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003464/1.029, allocations: 339.2 kB / 1.384 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.029, allocations: 4 kB / 1.384 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/1.029, allocations: 54.78 kB / 1.384 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/1.029, allocations: 27.08 kB / 1.384 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/1.03, allocations: 350.3 kB / 1.385 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/1.03, allocations: 0.744 MB / 1.385 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.857e-05/1.03, allocations: 14.62 kB / 1.386 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/1.03, allocations: 60.47 kB / 1.386 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.03, allocations: 0 / 1.386 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/1.049, allocations: 6.047 MB / 1.391 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.049, allocations: 182.5 kB / 1.392 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.954, allocations: 2.031 kB / 1.392 GB, free: 10.48 MB / 0.8542 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