Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.548/2.548, allocations: 390.5 MB / 398 MB, free: 10.98 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.001137/0.001137, allocations: 172.9 kB / 491.2 MB, free: 1.613 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.592/1.592, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 109.8 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.12e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.26, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9456/1.206, allocations: 150 MB / 1.359 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/1.206, allocations: 83.27 kB / 1.359 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007276/1.213, allocations: 2.725 MB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.372e-06/1.213, allocations: 0 / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.946e-06/1.213, allocations: 3.812 kB / 1.362 GB, free: 32.82 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.000324/1.214, allocations: 335.2 kB / 1.362 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.214, allocations: 7.719 kB / 1.362 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/1.214, allocations: 11.28 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/1.214, allocations: 173.8 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.214, allocations: 0 / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/1.214, allocations: 0 / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.114e-05/1.214, allocations: 19.88 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.248e-05/1.214, allocations: 72.03 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.214, allocations: 0 / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.214, allocations: 0 / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.214, allocations: 0 / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/1.214, allocations: 243.1 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/1.214, allocations: 36.8 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/1.214, allocations: 15.3 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/1.215, allocations: 0 / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/1.215, allocations: 66.55 kB / 1.363 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/1.215, allocations: 0 / 1.363 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001741/1.215, allocations: 57.08 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/1.215, allocations: 102.8 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/1.215, allocations: 103.2 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.215, allocations: 25.7 kB / 1.363 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/1.215, allocations: 87.67 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/1.215, allocations: 11.69 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/1.215, allocations: 0 / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.215, allocations: 325.1 kB / 1.363 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/1.215, allocations: 7.312 kB / 1.363 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-05/1.215, allocations: 33.61 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/1.215, allocations: 7.328 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/1.215, allocations: 0 / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.531e-05/1.215, allocations: 54.88 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.215, allocations: 7.469 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.215, allocations: 4.031 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.215, allocations: 0 / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/1.216, allocations: 11.94 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/1.216, allocations: 3.094 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/1.216, allocations: 7.688 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/1.216, allocations: 7.047 kB / 1.363 GB, free: 31.11 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 8.326e-05/1.216, allocations: 112.8 kB / 1.364 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.301e-05/1.216, allocations: 62.08 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/1.216, allocations: 4 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/1.216, allocations: 7.125 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.216, allocations: 3.562 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.216, allocations: 3.938 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.216, allocations: 3.953 kB / 1.364 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/1.216, allocations: 145.8 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.216, allocations: 0 / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/1.216, allocations: 7.812 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.216, allocations: 0 / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/1.216, allocations: 3.094 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.216, allocations: 0 / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.216, allocations: 4 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/1.216, allocations: 90.89 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/1.216, allocations: 84.42 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/1.216, allocations: 0 / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/1.216, allocations: 13.5 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/1.216, allocations: 9.078 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/1.216, allocations: 5.312 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.991e-05/1.216, allocations: 86.59 kB / 1.364 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.217, allocations: 0 / 1.364 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001969/1.217, allocations: 9.375 kB / 1.364 GB, free: 30.53 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.0004121/1.217, allocations: 0.6237 MB / 1.365 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.217, allocations: 28.48 kB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.217, allocations: 0 / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/1.217, allocations: 16.38 kB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/1.217, allocations: 1.969 kB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/1.218, allocations: 102.7 kB / 1.365 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/1.218, allocations: 0.6812 MB / 1.365 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.77e-05/1.218, allocations: 9.609 kB / 1.365 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/1.218, allocations: 18.31 kB / 1.365 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.218, allocations: 0 / 1.365 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/1.238, allocations: 1.175 MB / 1.367 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/1.238, allocations: 189.3 kB / 1.367 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.709, allocations: 3.938 kB / 1.367 GB, free: 28.84 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat does not exist to compare? outputFormat=mat