Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8635, allocations: 142.3 MB / 0.9539 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007145/0.8642, allocations: 322.5 kB / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.596e-05/0.8643, allocations: 0 / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.8643, allocations: 0 / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.8643, allocations: 0 / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.8643, allocations: 1.312 kB / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.019e-05/0.8644, allocations: 0 / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.374e-05/0.8644, allocations: 1.562 kB / 0.9542 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.8645, allocations: 3.984 kB / 0.9542 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.8645, allocations: 9.094 kB / 0.9542 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.8645, allocations: 0 / 0.9542 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.8646, allocations: 0 / 0.9542 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.8646, allocations: 1.594 kB / 0.9542 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.8646, allocations: 3.938 kB / 0.9542 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.8646, allocations: 25.7 kB / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.999e-05/0.8646, allocations: 0 / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8647, allocations: 1.406 kB / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8647, allocations: 0 / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.8647, allocations: 0 / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001843/0.8649, allocations: 308.9 kB / 0.9545 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8649, allocations: 9.375 kB / 0.9545 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.8649, allocations: 38.48 kB / 0.9545 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.116e-05/0.865, allocations: 5.109 kB / 0.9546 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.01e-05/0.865, allocations: 159.1 kB / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.865, allocations: 0 / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.8651, allocations: 1.062 kB / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/0.8651, allocations: 30.98 kB / 0.9547 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.8652, allocations: 1.188 kB / 0.9547 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.8652, allocations: 4 kB / 0.9547 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8652, allocations: 0 / 0.9547 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.8652, allocations: 5.109 kB / 0.9547 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.673e-05/0.8653, allocations: 146.8 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.815e-05/0.8653, allocations: 24.97 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.8654, allocations: 15.08 kB / 0.9549 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.8654, allocations: 0 / 0.9549 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.8654, allocations: 35.59 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.8654, allocations: 1.344 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001064/0.8655, allocations: 30.08 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.8655, allocations: 55.34 kB / 0.955 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.469e-05/0.8656, allocations: 89.86 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-06/0.8656, allocations: 26.77 kB / 0.9551 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.468e-05/0.8656, allocations: 84.12 kB / 0.9552 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.8656, allocations: 4.938 kB / 0.9552 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.8656, allocations: 4.125 kB / 0.9552 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.8657, allocations: 319.8 kB / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.8657, allocations: 0 / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.8657, allocations: 1.469 kB / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.482e-05/0.8657, allocations: 1.469 kB / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8657, allocations: 0 / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.612e-05/0.8658, allocations: 30.61 kB / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8658, allocations: 5.781 kB / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.8658, allocations: 96 / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8658, allocations: 5.312 kB / 0.9556 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.8659, allocations: 1.25 kB / 0.9556 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8659, allocations: 7.922 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.8659, allocations: 5.156 kB / 0.9556 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.8659, allocations: 0 / 0.9556 GB, free: 6.254 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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 6.067e-05/0.866, allocations: 114.9 kB / 0.9557 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-06/0.866, allocations: 1.219 kB / 0.9557 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.866, allocations: 3.125 kB / 0.9557 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.866, allocations: 5.188 kB / 0.9557 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.866, allocations: 0 / 0.9557 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.866, allocations: 0 / 0.9557 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.457e-05/0.8661, allocations: 157.3 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8661, allocations: 0 / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.8661, allocations: 1.281 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8661, allocations: 1.281 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.8661, allocations: 0 / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8661, allocations: 5.406 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8662, allocations: 3.938 kB / 0.9559 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.393e-05/0.8662, allocations: 62.03 kB / 0.9559 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.8662, allocations: 82.38 kB / 0.956 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.8663, allocations: 0 / 0.956 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-06/0.8663, allocations: 5.281 kB / 0.956 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.8663, allocations: 0 / 0.956 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.8663, allocations: 1.188 kB / 0.956 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.439e-05/0.8663, allocations: 75.28 kB / 0.9561 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8663, allocations: 0 / 0.9561 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002079/0.8665, allocations: 5.062 kB / 0.9561 GB, free: 5.664 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.0002756/0.8668, allocations: 0.5919 MB / 0.9567 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.8669, allocations: 4.281 kB / 0.9567 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8669, allocations: 3.938 kB / 0.9567 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-06/0.8669, allocations: 9.531 kB / 0.9567 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.8671, allocations: 1.406 kB / 0.9567 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.8674, allocations: 102.2 kB / 0.9568 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.8675, allocations: 0.6704 MB / 0.9574 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.8675, allocations: 0 / 0.9574 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.8676, allocations: 8.281 kB / 0.9575 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/0.8676, allocations: 0 / 0.9575 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.8784, allocations: 0.6997 MB / 0.9581 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/0.8785, allocations: 173.7 kB / 0.9583 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.564, allocations: 0 / 0.9583 GB, free: 3.645 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat does not exist to compare? outputFormat=mat