Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_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.0009938/0.0009938, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.00138/0.001381, allocations: 172.7 kB / 15.95 MB, free: 208 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.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.532/2.532, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7709, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007452/0.7717, allocations: 329.2 kB / 0.9814 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 3.743e-05/0.7717, allocations: 0 / 0.9814 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.7718, allocations: 4 kB / 0.9814 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.7718, allocations: 0 / 0.9814 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-06/0.7718, allocations: 3.938 kB / 0.9814 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.489e-05/0.7719, allocations: 0 / 0.9814 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.7719, allocations: 0 / 0.9814 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.772, allocations: 0 / 0.9814 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.171e-05/0.772, allocations: 0 / 0.9814 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.917e-05/0.772, allocations: 3.984 kB / 0.9815 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.772, allocations: 4 kB / 0.9815 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.086e-06/0.772, allocations: 4 kB / 0.9815 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-06/0.7721, allocations: 0 / 0.9815 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.7721, allocations: 25.7 kB / 0.9815 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.595e-05/0.7721, allocations: 0 / 0.9815 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7721, allocations: 4 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7721, allocations: 0 / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7721, allocations: 0 / 0.9815 GB, free: 5.902 MB / 0.7325 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.0002506/0.7724, allocations: 307.4 kB / 0.9818 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.7724, allocations: 8.031 kB / 0.9818 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.7725, allocations: 30.56 kB / 0.9818 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.7725, allocations: 4 kB / 0.9818 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.7726, allocations: 163.1 kB / 0.982 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.7726, allocations: 0 / 0.982 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.7726, allocations: 0 / 0.982 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.049e-05/0.7727, allocations: 37.59 kB / 0.982 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.7727, allocations: 0 / 0.982 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.7727, allocations: 0 / 0.982 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.7728, allocations: 0 / 0.982 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.7728, allocations: 0 / 0.982 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.7729, allocations: 153.7 kB / 0.9822 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.7729, allocations: 18.56 kB / 0.9822 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.773, allocations: 8.953 kB / 0.9822 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.773, allocations: 0 / 0.9822 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.773, allocations: 42.44 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.695e-06/0.773, allocations: 0 / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.7731, allocations: 41.59 kB / 0.9823 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7732, allocations: 55.41 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.838e-05/0.7732, allocations: 89.86 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.7732, allocations: 25.7 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.7733, allocations: 80.14 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.7733, allocations: 3.906 kB / 0.9825 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.7733, allocations: 0 / 0.9825 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.7734, allocations: 314.8 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.7734, allocations: 4.125 kB / 0.9828 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.7734, allocations: 11.94 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.602e-05/0.7735, allocations: 0 / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7735, allocations: 0 / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.261e-05/0.7735, allocations: 29.7 kB / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7735, allocations: 9.094 kB / 0.9829 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.7736, allocations: 0 / 0.9829 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7736, allocations: 0 / 0.9829 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/0.7736, allocations: 7.953 kB / 0.9829 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7736, allocations: 0 / 0.9829 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.7737, allocations: 4.094 kB / 0.9829 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.7737, allocations: 4 kB / 0.9829 GB, free: 4.25 MB / 0.7325 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.751e-05/0.7737, allocations: 109.8 kB / 0.983 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.7738, allocations: 0 / 0.983 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.7738, allocations: 7.125 kB / 0.983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.7738, allocations: 0 / 0.983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.7738, allocations: 3.953 kB / 0.983 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7738, allocations: 4 kB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.565e-05/0.7739, allocations: 143.9 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7739, allocations: 4 kB / 0.9831 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.7739, allocations: 7.922 kB / 0.9831 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7739, allocations: 0 / 0.9831 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.7739, allocations: 4 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.7739, allocations: 0 / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.7739, allocations: 0 / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.045e-05/0.774, allocations: 57.09 kB / 0.9832 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.774, allocations: 77.11 kB / 0.9833 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.7741, allocations: 12.02 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.7741, allocations: 3.938 kB / 0.9833 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.7741, allocations: 3.984 kB / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.7741, allocations: 0 / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.641e-05/0.7741, allocations: 75.28 kB / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7741, allocations: 3.938 kB / 0.9834 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001848/0.7743, allocations: 3.953 kB / 0.9834 GB, free: 3.648 MB / 0.7325 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.0002933/0.7746, allocations: 0.5929 MB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.595e-05/0.7747, allocations: 4 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7747, allocations: 0 / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.7747, allocations: 4 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.7748, allocations: 0 / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.7751, allocations: 112.4 kB / 0.9841 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.7753, allocations: 0.677 MB / 0.9847 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.208e-05/0.7753, allocations: 0 / 0.9847 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.7754, allocations: 7.438 kB / 0.9847 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7754, allocations: 0 / 0.9847 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.7875, allocations: 0.6943 MB / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.7878, allocations: 178.4 kB / 0.9856 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.596, allocations: 3.938 kB / 0.9856 GB, free: 1.348 MB / 0.7325 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat does not exist to compare? outputFormat=mat