Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.0009818/0.0009818, allocations: 176 kB / 492.3 MB, free: 0.6406 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.453/1.453, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009626/0.0009626, allocations: 100 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.88e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2973, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.337, allocations: 149.9 MB / 1.359 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.337, allocations: 77.09 kB / 1.359 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007921/1.345, allocations: 2.754 MB / 1.362 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.525e-06/1.345, allocations: 0 / 1.362 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.345, allocations: 0 / 1.362 GB, free: 34.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.0004005/1.346, allocations: 333.8 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.346, allocations: 11.44 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/1.346, allocations: 8.531 kB / 1.362 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/1.346, allocations: 168.5 kB / 1.362 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/1.346, allocations: 3.984 kB / 1.362 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/1.346, allocations: 7.844 kB / 1.362 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/1.346, allocations: 65.39 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.346, allocations: 0 / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/1.346, allocations: 3.812 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.346, allocations: 0 / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/1.346, allocations: 15.91 kB / 1.362 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/1.347, allocations: 263.8 kB / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/1.347, allocations: 35.08 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/1.347, allocations: 19.67 kB / 1.362 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/1.347, allocations: 1.594 kB / 1.362 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/1.347, allocations: 64.25 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/1.347, allocations: 3.938 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001764/1.347, allocations: 56.33 kB / 1.363 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.347, allocations: 112 kB / 1.363 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/1.347, allocations: 98.17 kB / 1.363 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/1.347, allocations: 25.7 kB / 1.363 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/1.347, allocations: 87.8 kB / 1.363 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/1.347, allocations: 25 kB / 1.363 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/1.347, allocations: 0 / 1.363 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.348, allocations: 316.8 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/1.348, allocations: 14.66 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/1.348, allocations: 27.25 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/1.348, allocations: 13.34 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.348, allocations: 0 / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001309/1.348, allocations: 55.47 kB / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.348, allocations: 11.66 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.348, allocations: 0 / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.348, allocations: 64 / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/1.348, allocations: 16.23 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.348, allocations: 0 / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/1.348, allocations: 13.83 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/1.348, allocations: 3.281 kB / 1.363 GB, free: 32.83 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.137e-05/1.348, allocations: 110.7 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/1.348, allocations: 7.906 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/1.348, allocations: 9.719 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/1.348, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.348, allocations: 1.594 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.348, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/1.348, allocations: 167.1 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.348, allocations: 0 / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/1.348, allocations: 5.094 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.348, allocations: 0 / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.348, allocations: 3.375 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.348, allocations: 4 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.348, allocations: 0 / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/1.349, allocations: 100.3 kB / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/1.349, allocations: 90.06 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/1.349, allocations: 3.281 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/1.349, allocations: 9.438 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/1.349, allocations: 8.375 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/1.349, allocations: 4 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.788e-05/1.349, allocations: 87.98 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.349, allocations: 0 / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001683/1.349, allocations: 10.47 kB / 1.364 GB, free: 32.26 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.0001388/1.349, allocations: 106.6 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001006/1.349, allocations: 29.8 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.349, allocations: 6.781 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/1.349, allocations: 12.38 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/1.349, allocations: 12.61 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/1.35, allocations: 72.66 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/1.35, allocations: 0.6815 MB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.475e-05/1.35, allocations: 6.297 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/1.35, allocations: 7.438 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.35, allocations: 0 / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.002725/1.353, allocations: 0.8035 MB / 1.366 GB, free: 31.32 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches