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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001102/0.001102, allocations: 192.7 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 105.5 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.176e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3006, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9088/1.209, allocations: 149.1 MB / 1.352 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.21, allocations: 82.17 kB / 1.352 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007458/1.217, allocations: 2.724 MB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.217, allocations: 4 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.217, allocations: 0 / 1.354 GB, free: 33.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003177/1.218, allocations: 340.1 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.218, allocations: 8.25 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/1.218, allocations: 8.562 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/1.218, allocations: 168.8 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.218, allocations: 3.75 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/1.218, allocations: 0.6562 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.4e-05/1.218, allocations: 17.12 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.165e-05/1.218, allocations: 65.25 kB / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/1.218, allocations: 0 / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.218, allocations: 0.6094 kB / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/1.218, allocations: 0 / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/1.218, allocations: 244.2 kB / 1.355 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/1.218, allocations: 38.95 kB / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/1.218, allocations: 16.81 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/1.218, allocations: 3.938 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/1.219, allocations: 58.08 kB / 1.355 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/1.219, allocations: 0 / 1.355 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001537/1.219, allocations: 64.83 kB / 1.355 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/1.219, allocations: 107.4 kB / 1.356 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/1.219, allocations: 94.22 kB / 1.356 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/1.219, allocations: 29.61 kB / 1.356 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/1.219, allocations: 84.66 kB / 1.356 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/1.219, allocations: 13.11 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.219, allocations: 0 / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/1.219, allocations: 319.3 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/1.219, allocations: 8.297 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/1.219, allocations: 36.12 kB / 1.356 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/1.219, allocations: 13.5 kB / 1.356 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.219, allocations: 0 / 1.356 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.236e-05/1.219, allocations: 52.09 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.219, allocations: 7.75 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.219, allocations: 0.6562 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/1.219, allocations: 64 / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/1.219, allocations: 13.11 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/1.219, allocations: 3.938 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/1.219, allocations: 14.72 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.219, allocations: 4.672 kB / 1.356 GB, free: 31.86 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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.69e-05/1.219, allocations: 104.9 kB / 1.356 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001068/1.22, allocations: 61.05 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/1.22, allocations: 4.562 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/1.22, allocations: 4.922 kB / 1.356 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/1.22, allocations: 96 / 1.356 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.22, allocations: 11.86 kB / 1.356 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.22, allocations: 4.734 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.333e-05/1.22, allocations: 148.6 kB / 1.356 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.22, allocations: 0 / 1.356 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/1.22, allocations: 4.719 kB / 1.356 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.22, allocations: 0 / 1.356 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.22, allocations: 0.6094 kB / 1.356 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.22, allocations: 7.844 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.22, allocations: 0 / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.99e-05/1.22, allocations: 93.19 kB / 1.357 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/1.22, allocations: 84.33 kB / 1.357 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/1.22, allocations: 0.5156 kB / 1.357 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/1.22, allocations: 10.55 kB / 1.357 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/1.22, allocations: 2.297 kB / 1.357 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.22, allocations: 7.578 kB / 1.357 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.377e-05/1.22, allocations: 82.66 kB / 1.357 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.22, allocations: 0 / 1.357 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001845/1.22, allocations: 16.34 kB / 1.357 GB, free: 31.28 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * 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.0003432/1.221, allocations: 0.6221 MB / 1.357 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.213e-05/1.221, allocations: 28.19 kB / 1.357 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/1.221, allocations: 0 / 1.357 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/1.221, allocations: 15.31 kB / 1.357 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/1.221, allocations: 8.5 kB / 1.357 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/1.221, allocations: 99.31 kB / 1.358 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/1.221, allocations: 0.6816 MB / 1.358 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.704e-05/1.221, allocations: 8.469 kB / 1.358 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/1.222, allocations: 12.81 kB / 1.358 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.222, allocations: 0 / 1.358 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7781/2, allocations: 1.172 MB / 1.359 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/2, allocations: 170.7 kB / 1.36 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.351/3.351, allocations: 1.25 kB / 1.36 GB, free: 29.57 MB / 0.8386 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