Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001022/0.001022, 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.001128/0.001128, 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.438 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.57/2.57, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004277, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.855, allocations: 142.3 MB / 0.9538 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001648/0.8567, allocations: 1.166 MB / 0.955 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.8571, allocations: 179.8 kB / 0.9552 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.8572, allocations: 0 / 0.9552 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.8572, allocations: 3.938 kB / 0.9552 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.8574, allocations: 21.53 kB / 0.9552 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.8576, allocations: 44.56 kB / 0.9552 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.8577, allocations: 46.59 kB / 0.9553 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.8578, allocations: 7.688 kB / 0.9553 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.8579, allocations: 23.64 kB / 0.9553 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.097e-05/0.858, allocations: 26.33 kB / 0.9553 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.858, allocations: 6.719 kB / 0.9553 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.858, allocations: 1.281 kB / 0.9553 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.8581, allocations: 6.375 kB / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.8581, allocations: 29.42 kB / 0.9554 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.516e-05/0.8582, allocations: 36.03 kB / 0.9554 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8582, allocations: 0 / 0.9554 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.296e-06/0.8582, allocations: 0 / 0.9554 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8582, allocations: 5.312 kB / 0.9554 GB, free: 7.082 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005051/0.8587, allocations: 345.5 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.8588, allocations: 9.438 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.8588, allocations: 31.81 kB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.8589, allocations: 14.94 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.859, allocations: 165 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.859, allocations: 1.375 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.859, allocations: 2.906 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.8592, allocations: 77.5 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8592, allocations: 7.938 kB / 0.956 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.8592, allocations: 0.8438 kB / 0.956 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8592, allocations: 0.9062 kB / 0.956 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/0.8593, allocations: 25.16 kB / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.8597, allocations: 265.6 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.97e-05/0.8598, allocations: 50.77 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.8598, allocations: 15.64 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.8598, allocations: 0 / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.86, allocations: 68.8 kB / 0.9564 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.86, allocations: 0 / 0.9564 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000205/0.8602, allocations: 74.3 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.8603, allocations: 107.9 kB / 0.9566 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.8604, allocations: 108.8 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.8604, allocations: 26.92 kB / 0.9567 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.8604, allocations: 86.45 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.8604, allocations: 13.36 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.8604, allocations: 0 / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.8605, allocations: 316.3 kB / 0.9571 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.8605, allocations: 9.594 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.8606, allocations: 32.06 kB / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.8606, allocations: 13.53 kB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.8606, allocations: 0 / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.221e-05/0.8607, allocations: 63.75 kB / 0.9573 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.8607, allocations: 13.05 kB / 0.9573 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8608, allocations: 0.9062 kB / 0.9573 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8608, allocations: 1 kB / 0.9573 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.8608, allocations: 9.734 kB / 0.9573 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.8609, allocations: 3.984 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.861, allocations: 12.03 kB / 0.9573 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.861, allocations: 1.25 kB / 0.9573 GB, free: 5.09 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.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.929e-05/0.8611, allocations: 117.3 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.8611, allocations: 2.188 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.8611, allocations: 8.766 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8611, allocations: 0 / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8611, allocations: 0 / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8611, allocations: 2.125 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.703e-05/0.8612, allocations: 169.8 kB / 0.9576 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8612, allocations: 4 kB / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.8612, allocations: 6.406 kB / 0.9576 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8613, allocations: 0.9375 kB / 0.9576 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.8613, allocations: 5.031 kB / 0.9576 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8613, allocations: 3.953 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8613, allocations: 1.062 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.8614, allocations: 94.27 kB / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.8615, allocations: 88.12 kB / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.8615, allocations: 5.031 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.8616, allocations: 11.92 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.8616, allocations: 5.984 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.8617, allocations: 0.8438 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.8617, allocations: 88.55 kB / 0.9579 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.262e-06/0.8617, allocations: 0 / 0.9579 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001954/0.8619, allocations: 18.38 kB / 0.9579 GB, free: 4.441 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003491/0.8623, allocations: 0.6389 MB / 0.9585 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.8624, allocations: 29.05 kB / 0.9586 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8624, allocations: 0 / 0.9586 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.8625, allocations: 13.03 kB / 0.9586 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.8626, allocations: 8.453 kB / 0.9586 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.8633, allocations: 410 kB / 0.959 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.8634, allocations: 0.6837 MB / 0.9596 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.8635, allocations: 5.25 kB / 0.9596 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.8635, allocations: 8.875 kB / 0.9596 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8635, allocations: 4 kB / 0.9596 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.8784, allocations: 1.529 MB / 0.9611 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.8787, allocations: 213.5 kB / 0.9613 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.632, allocations: 3.125 kB / 0.9613 GB, free: 1.773 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat does not exist to compare? outputFormat=mat