Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 187.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008268, allocations: 91.69 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 9 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2164, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.4076, allocations: 132.3 MB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4079, allocations: 75.95 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007366/0.4153, allocations: 2.74 MB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4153, allocations: 4 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.4153, allocations: 0 / 1.032 GB, free: 8.602 MB / 0.6823 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.0004321/0.4158, allocations: 347.7 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4158, allocations: 8.031 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.4159, allocations: 8 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.416, allocations: 174.9 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.416, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.416, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4162, allocations: 74.03 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.4162, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.4162, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4162, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.4163, allocations: 15.98 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.4167, allocations: 264.8 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.4168, allocations: 42.52 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.4168, allocations: 4 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.417, allocations: 55.48 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.417, allocations: 0 / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002114/0.4172, allocations: 81.61 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.4173, allocations: 102.8 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.4174, allocations: 105 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.4174, allocations: 25.7 kB / 1.033 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.4175, allocations: 80.14 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4175, allocations: 19.75 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.4175, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4176, allocations: 318.8 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.4177, allocations: 8 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.4177, allocations: 42.56 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.352e-05/0.4177, allocations: 11.94 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4178, allocations: 0 / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.978e-05/0.4179, allocations: 58.06 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4179, allocations: 4 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4179, allocations: 4.062 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4179, allocations: 3.938 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.418, allocations: 8 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.418, allocations: 0 / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.4181, allocations: 16.02 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.4181, allocations: 0 / 1.034 GB, free: 6.516 MB / 0.6823 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 8.981e-05/0.4182, allocations: 117.8 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.4182, allocations: 7.906 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.4183, allocations: 11.48 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4183, allocations: 4.125 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4183, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4183, allocations: 3.984 kB / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.4184, allocations: 169.6 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4184, allocations: 4 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.4185, allocations: 4 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4185, allocations: 0 / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4185, allocations: 7.984 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4185, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4185, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.4186, allocations: 85.08 kB / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.4187, allocations: 89 kB / 1.034 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4187, allocations: 8 kB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.4188, allocations: 11.98 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.4189, allocations: 7.922 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4189, allocations: 0 / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.419, allocations: 91.22 kB / 1.034 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.419, allocations: 0 / 1.034 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001894/0.4192, allocations: 12 kB / 1.034 GB, free: 5.793 MB / 0.6823 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.0001551/0.4193, allocations: 111.2 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4194, allocations: 24 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4195, allocations: 0 / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.4195, allocations: 15.98 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.4196, allocations: 14.19 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.4199, allocations: 132.5 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.4202, allocations: 0.6848 MB / 1.035 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.4202, allocations: 7.984 kB / 1.035 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.4203, allocations: 11.44 kB / 1.035 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4203, allocations: 0 / 1.035 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of Templates: time 0.002719/0.423, allocations: 0.7838 MB / 1.036 GB, free: 4 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches