Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 84.59 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002465/0.002465, allocations: 159.4 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.808/2.808, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 59.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9496, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002512/0.9521, allocations: 1.476 MB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004189/0.9525, allocations: 177.8 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.9526, allocations: 3.938 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.9526, allocations: 3.375 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.9528, allocations: 28.98 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.953, allocations: 54.94 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.9531, allocations: 55.55 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.9532, allocations: 10.27 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.9533, allocations: 19.14 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.008e-05/0.9534, allocations: 20.38 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.9534, allocations: 5.031 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.9534, allocations: 5.844 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.9535, allocations: 14 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.9535, allocations: 20.84 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.9536, allocations: 50.44 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9536, allocations: 0 / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9536, allocations: 0 / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9536, allocations: 0 / 1.156 GB, free: 32.04 MB / 1.076 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.0004874/0.9541, allocations: 274.5 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.9541, allocations: 10.41 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.9542, allocations: 4.891 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.9543, allocations: 123.3 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.9543, allocations: 384 / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.9543, allocations: 6.938 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.9544, allocations: 130.7 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.9545, allocations: 192 / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.9545, allocations: 3.938 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9545, allocations: 3.406 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.086e-05/0.9545, allocations: 15.28 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.9548, allocations: 214.2 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.9549, allocations: 40.12 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.955, allocations: 17.38 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.955, allocations: 6.625 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.9551, allocations: 65.05 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9551, allocations: 0 / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002/0.9553, allocations: 70.69 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.9554, allocations: 105.3 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.9554, allocations: 109.2 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.9554, allocations: 25.7 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.9555, allocations: 86.33 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.9555, allocations: 15.84 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.9555, allocations: 24.91 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.9556, allocations: 314.8 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.9556, allocations: 13.66 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.9556, allocations: 92.69 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.9557, allocations: 31.55 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9557, allocations: 3.938 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.173e-05/0.9558, allocations: 59.92 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.9558, allocations: 5.094 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9558, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9558, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.9559, allocations: 5.281 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.9559, allocations: 2.75 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.956, allocations: 17.45 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.956, allocations: 0 / 1.158 GB, free: 30.24 MB / 1.076 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 6.318e-05/0.9561, allocations: 127.8 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.9561, allocations: 6.688 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.9561, allocations: 10.56 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.9561, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.9561, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9561, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.515e-05/0.9562, allocations: 113 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9562, allocations: 3.938 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.9562, allocations: 10.08 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.9562, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.9562, allocations: 2.844 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9562, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9562, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.9563, allocations: 95.75 kB / 1.158 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.9563, allocations: 10 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.9564, allocations: 4 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.9565, allocations: 8.766 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.9565, allocations: 5.953 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.9565, allocations: 4 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.645e-05/0.9565, allocations: 88.28 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9565, allocations: 0 / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001899/0.9567, allocations: 11 kB / 1.158 GB, free: 29.79 MB / 1.076 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 8.781e-05/0.9568, allocations: 97.69 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.957, allocations: 29.02 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.957, allocations: 0 / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.957, allocations: 19 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.9572, allocations: 20.23 kB / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.9575, allocations: 125.6 kB / 1.158 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.55e-05/0.9575, allocations: 72.92 kB / 1.158 GB, free: 29.47 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.9575, allocations: 2.625 kB / 1.158 GB, free: 29.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.9576, allocations: 11.12 kB / 1.158 GB, free: 29.46 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.9576, allocations: 0 / 1.158 GB, free: 29.46 MB / 1.076 GB Notification: Performance of Templates: time 0.003452/0.961, allocations: 0.9421 MB / 1.159 GB, free: 29.34 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.979501793975942]