Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006033/0.006033, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001156/0.001157, allocations: 199.4 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.34, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002874/0.343, allocations: 1.447 MB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004689/0.3434, allocations: 191.4 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.3435, allocations: 0 / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.3435, allocations: 7.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.3438, allocations: 23.83 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.344, allocations: 59.61 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3441, allocations: 55.91 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.3442, allocations: 11.92 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.3443, allocations: 27.86 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.394e-05/0.3443, allocations: 23.91 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3444, allocations: 4 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.3444, allocations: 8 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.3444, allocations: 11.98 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.3445, allocations: 27.86 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3446, allocations: 43.81 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3446, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3446, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3446, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 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.0005851/0.3452, allocations: 355.3 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3453, allocations: 12.03 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3453, allocations: 4.938 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3455, allocations: 176.3 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3455, allocations: 4.375 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3455, allocations: 4.375 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3457, allocations: 80.75 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3457, allocations: 192 / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3457, allocations: 3.938 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3457, allocations: 0 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.3458, allocations: 16 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.3462, allocations: 280.8 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.3463, allocations: 42.56 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.3464, allocations: 12.86 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.3464, allocations: 0 / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3466, allocations: 63.48 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3466, allocations: 0 / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000215/0.3468, allocations: 77.61 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3469, allocations: 102.8 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.347, allocations: 109.8 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.347, allocations: 25.7 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.347, allocations: 84.09 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3471, allocations: 11.95 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.3471, allocations: 25.7 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3472, allocations: 318.8 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.3473, allocations: 11.98 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.3473, allocations: 26.58 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.189e-05/0.3474, allocations: 32.78 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3474, allocations: 3.938 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.685e-05/0.3475, allocations: 61.66 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3475, allocations: 12.02 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3475, allocations: 3.938 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3475, allocations: 4.438 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.3476, allocations: 4 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3476, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.3478, allocations: 11.98 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3478, allocations: 4.188 kB / 1.17 GB, free: 2.648 MB / 0.92 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.3479, allocations: 123.7 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.348, allocations: 3.984 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.348, allocations: 7.5 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.348, allocations: 7.984 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.348, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.348, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.3481, allocations: 173.5 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3482, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.3482, allocations: 4 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3482, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3482, allocations: 3.984 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3482, allocations: 0 / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3482, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.3483, allocations: 93.02 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.3484, allocations: 85.09 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3484, allocations: 4 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3486, allocations: 7.984 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.3486, allocations: 11.92 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3486, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.3487, allocations: 87.28 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3487, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001955/0.3489, allocations: 16 kB / 1.171 GB, free: 1.93 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002017/0.3491, allocations: 103.2 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.3492, allocations: 31.98 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3492, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.3492, allocations: 15.94 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.3494, allocations: 7.938 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.3497, allocations: 129.3 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3501, allocations: 0.6807 MB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.3501, allocations: 4 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.3502, allocations: 11.44 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.3502, allocations: 0 / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of Templates: time 0.003113/0.3533, allocations: 0.891 MB / 1.173 GB, free: 44 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches