Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001752/0.001752, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.36 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002524/0.3343, allocations: 1.516 MB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003971/0.3347, allocations: 199.4 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.3347, allocations: 11.88 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.3348, allocations: 0 / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.335, allocations: 15.92 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.3352, allocations: 47.06 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.3352, allocations: 59.73 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.3353, allocations: 4 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.3354, allocations: 27.92 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.3355, allocations: 19.92 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.3355, allocations: 4 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.3355, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.3355, allocations: 15.97 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.3356, allocations: 23.86 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3357, allocations: 52.08 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3357, allocations: 0 / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3357, allocations: 0 / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3357, allocations: 0 / 1.054 GB, free: 6.902 MB / 0.8106 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.000765/0.3365, allocations: 351.5 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3366, allocations: 12.03 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.3366, allocations: 0.9375 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.3368, allocations: 168.3 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3368, allocations: 4.375 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3368, allocations: 4.375 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.337, allocations: 72.75 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3371, allocations: 8.125 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.3371, allocations: 7.938 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3371, allocations: 3.984 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.811e-05/0.3372, allocations: 15.98 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3377, allocations: 276.8 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3379, allocations: 38.52 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.3379, allocations: 24.94 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3379, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.3382, allocations: 59.39 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3382, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002609/0.3385, allocations: 69.69 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.3386, allocations: 114.7 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.3387, allocations: 101.9 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3387, allocations: 29.7 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.3387, allocations: 95.97 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.3388, allocations: 11.84 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.3388, allocations: 21.7 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3389, allocations: 314.8 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.339, allocations: 12 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.339, allocations: 34.94 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.3391, allocations: 32.89 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3391, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001005/0.3392, allocations: 61.62 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3392, allocations: 4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3392, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3392, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.3393, allocations: 11.98 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3393, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3394, allocations: 11.89 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3395, allocations: 8 kB / 1.056 GB, free: 4.699 MB / 0.8106 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 8.541e-05/0.3396, allocations: 115.3 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.3396, allocations: 4 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.3396, allocations: 7.5 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3396, allocations: 7.938 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3397, allocations: 177.6 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3398, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.3398, allocations: 8 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3398, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3398, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3398, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3398, allocations: 3.938 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.3399, allocations: 93.05 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.34, allocations: 85 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.34, allocations: 4.234 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3401, allocations: 16.05 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.3402, allocations: 4 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3402, allocations: 11.97 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.3402, allocations: 79.28 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3403, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001872/0.3404, allocations: 16 kB / 1.057 GB, free: 3.984 MB / 0.8106 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.0001057/0.3406, allocations: 99.25 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.3407, allocations: 31.92 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3407, allocations: 4 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.3407, allocations: 19.98 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3409, allocations: 11.88 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.3412, allocations: 131.1 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3414, allocations: 0.6809 MB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.3414, allocations: 11.98 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.3415, allocations: 15.44 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3415, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of Templates: time 0.002737/0.3442, allocations: 0.8246 MB / 1.058 GB, free: 2.137 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches