Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.0009805/0.0009804, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001152/0.001152, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.433/2.433, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.0005817, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8584/0.859, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001519/0.8606, allocations: 1.152 MB / 0.9547 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.8613, allocations: 479.6 kB / 0.9552 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.8614, allocations: 0 / 0.9552 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.8614, allocations: 0 / 0.9552 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.8616, allocations: 13.73 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.8618, allocations: 29.55 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.8619, allocations: 33.86 kB / 0.9552 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.8619, allocations: 3.594 kB / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.862, allocations: 21.98 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.8621, allocations: 19.34 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.8622, allocations: 1.938 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.8622, allocations: 2.031 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.8622, allocations: 14.3 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.8622, allocations: 28.8 kB / 0.9553 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.752e-05/0.8623, allocations: 33.67 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.8623, allocations: 0 / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8623, allocations: 8.969 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.8623, allocations: 0 / 0.9554 GB, free: 6.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004736/0.8628, allocations: 345.5 kB / 0.9557 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8629, allocations: 9.219 kB / 0.9557 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.8629, allocations: 31.5 kB / 0.9557 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.8629, allocations: 10.33 kB / 0.9558 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8631, allocations: 173.4 kB / 0.9559 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.8631, allocations: 5.531 kB / 0.9559 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.8631, allocations: 2.875 kB / 0.9559 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.8632, allocations: 56.56 kB / 0.956 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.8632, allocations: 0 / 0.956 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8632, allocations: 1.188 kB / 0.956 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8633, allocations: 1.156 kB / 0.956 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.8633, allocations: 27.81 kB / 0.956 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.8636, allocations: 277.9 kB / 0.9563 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.8639, allocations: 60.59 kB / 0.9563 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.8639, allocations: 1.469 kB / 0.9563 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.864, allocations: 69.22 kB / 0.9564 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.8641, allocations: 3.938 kB / 0.9564 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002413/0.8643, allocations: 103.1 kB / 0.9565 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.8643, allocations: 56.58 kB / 0.9566 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.8644, allocations: 99.7 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.8644, allocations: 27.17 kB / 0.9567 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.8645, allocations: 85.48 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.8645, allocations: 17.33 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.8645, allocations: 5.031 kB / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.8645, allocations: 312 kB / 0.9571 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.8646, allocations: 19.8 kB / 0.9571 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.8646, allocations: 15.59 kB / 0.9571 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.8646, allocations: 12.16 kB / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8647, allocations: 0 / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001086/0.8648, allocations: 82.56 kB / 0.9572 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8648, allocations: 4.281 kB / 0.9572 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8648, allocations: 1.438 kB / 0.9572 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8648, allocations: 3.953 kB / 0.9572 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.8649, allocations: 11.89 kB / 0.9572 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.8649, allocations: 1.25 kB / 0.9572 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.865, allocations: 16.41 kB / 0.9572 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.865, allocations: 1.125 kB / 0.9572 GB, free: 4.723 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: 3 ($whenCondition1,$PRE.eqnTim.tNext,eqnTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.038e-05/0.8651, allocations: 108.8 kB / 0.9573 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.8651, allocations: 5.328 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.8653, allocations: 108.2 kB / 0.9575 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8653, allocations: 5.016 kB / 0.9575 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8653, allocations: 3.984 kB / 0.9575 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8653, allocations: 5.062 kB / 0.9575 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.8654, allocations: 182 kB / 0.9576 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8654, allocations: 0 / 0.9576 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.8655, allocations: 17.36 kB / 0.9577 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.8655, allocations: 1.438 kB / 0.9577 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.8655, allocations: 0 / 0.9577 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8655, allocations: 1.406 kB / 0.9577 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8655, allocations: 3.953 kB / 0.9577 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.8657, allocations: 117.7 kB / 0.9578 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.8657, allocations: 82.55 kB / 0.9579 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.8657, allocations: 13.3 kB / 0.9579 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.8658, allocations: 2.844 kB / 0.9579 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.8658, allocations: 7.641 kB / 0.9579 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.8659, allocations: 6.547 kB / 0.9579 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.8659, allocations: 88.55 kB / 0.958 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8659, allocations: 0 / 0.958 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001872/0.8661, allocations: 9.094 kB / 0.958 GB, free: 3.984 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002951/0.8664, allocations: 0.6568 MB / 0.9586 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.8665, allocations: 51.08 kB / 0.9587 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8665, allocations: 0 / 0.9587 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.8666, allocations: 34.67 kB / 0.9587 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.8667, allocations: 5.781 kB / 0.9587 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/0.8673, allocations: 454.8 kB / 0.9591 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.8675, allocations: 0.6919 MB / 0.9598 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.8675, allocations: 11.61 kB / 0.9598 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.8676, allocations: 16 kB / 0.9598 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8676, allocations: 0 / 0.9598 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.8798, allocations: 1.413 MB / 0.9612 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.8801, allocations: 207.9 kB / 0.9614 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.525, allocations: 1.375 kB / 0.9614 GB, free: 1.324 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat does not exist to compare? outputFormat=mat