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.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.001664/0.001664, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001706/0.001706, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.932/2.932, allocations: 394.2 MB / 0.6387 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002563/0.002563, allocations: 64.19 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9122/0.9147, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002527/0.9172, allocations: 1.488 MB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.9177, allocations: 174.9 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.9177, allocations: 0 / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.9178, allocations: 4.547 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.918, allocations: 24 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.9182, allocations: 59.08 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.9183, allocations: 59.67 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.9184, allocations: 11.66 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.9185, allocations: 23.41 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.686e-05/0.9186, allocations: 20.12 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.9186, allocations: 5.031 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.9186, allocations: 3.781 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.9187, allocations: 13.16 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.9187, allocations: 21.66 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.9189, allocations: 52.84 kB / 1.189 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9189, allocations: 1.625 kB / 1.189 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9189, allocations: 4 kB / 1.189 GB, free: 14.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.9189, allocations: 0 / 1.189 GB, free: 14.93 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.0005319/0.9194, allocations: 277.8 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9194, allocations: 9.062 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.9195, allocations: 4.328 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.13e-05/0.9196, allocations: 112.1 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.9196, allocations: 2.031 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.9196, allocations: 5.656 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.9198, allocations: 124.3 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9198, allocations: 4.125 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.9198, allocations: 8.688 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.9198, allocations: 1.656 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.9199, allocations: 15.06 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.9202, allocations: 207.1 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.764e-05/0.9203, allocations: 40.12 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.9203, allocations: 20.45 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.9203, allocations: 5.109 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.9205, allocations: 58.62 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9205, allocations: 1.625 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.9207, allocations: 81.03 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.9207, allocations: 113.9 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.9208, allocations: 108.3 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.9208, allocations: 25.7 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.9209, allocations: 88.3 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.9209, allocations: 9.641 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.9209, allocations: 26.97 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.921, allocations: 318 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.921, allocations: 10.06 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.9211, allocations: 88.48 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.9211, allocations: 25.56 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9211, allocations: 8.484 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.406e-05/0.9212, allocations: 59.02 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9212, allocations: 6.344 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9212, allocations: 0 / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.9212, allocations: 0 / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.9213, allocations: 6.75 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.9213, allocations: 1.734 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.9214, allocations: 8.234 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.9214, allocations: 6.312 kB / 1.19 GB, free: 13.15 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.891e-05/0.9215, allocations: 122.6 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.9215, allocations: 2.156 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.9216, allocations: 9.516 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9216, allocations: 1.344 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9216, allocations: 0.7031 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9216, allocations: 0 / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.918e-05/0.9216, allocations: 117.8 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9216, allocations: 0 / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.9217, allocations: 3.875 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9217, allocations: 0.7031 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.9217, allocations: 1.594 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9217, allocations: 8 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9217, allocations: 1 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.9218, allocations: 95.25 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.9218, allocations: 10.84 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.9219, allocations: 5.812 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.922, allocations: 8.047 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.922, allocations: 4.984 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.922, allocations: 1.812 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.9221, allocations: 85.47 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9221, allocations: 1.094 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001974/0.9222, allocations: 17.11 kB / 1.191 GB, free: 12.69 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 9.345e-05/0.9223, allocations: 102.7 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.9225, allocations: 32.91 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9225, allocations: 0 / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.9225, allocations: 15.06 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.9227, allocations: 6.766 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.923, allocations: 123.4 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.923, allocations: 72.75 kB / 1.191 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.9231, allocations: 9.078 kB / 1.191 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.9231, allocations: 10.95 kB / 1.191 GB, free: 12.37 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.9231, allocations: 1.094 kB / 1.191 GB, free: 12.37 MB / 1.076 GB Notification: Performance of Templates: time 0.003573/0.9267, allocations: 0.9408 MB / 1.192 GB, free: 12.26 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.01876654906664]