Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000814/0.000814, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007871/0.0007871, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8498/0.8498, allocations: 177.2 MB / 203.5 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.59/1.59, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.897e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001731/0.00175, allocations: 1.477 MB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003139/0.002064, allocations: 179.9 kB / 0.9534 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.002105, allocations: 3.938 kB / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.002133, allocations: 3.938 kB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.00233, allocations: 27.84 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.002465, allocations: 55.11 kB / 0.9535 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.002559, allocations: 67.77 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.002653, allocations: 7.938 kB / 0.9535 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.462e-05/0.002728, allocations: 35.97 kB / 0.9536 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.002804, allocations: 27.89 kB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.002829, allocations: 7.938 kB / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.002839, allocations: 4 kB / 0.9536 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.00286, allocations: 11.98 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.002894, allocations: 19.94 kB / 0.9536 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/0.002988, allocations: 59.88 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002989, allocations: 3.938 kB / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002991, allocations: 0 / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.002994, allocations: 0 / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004416/0.003436, allocations: 282.2 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.003469, allocations: 8.031 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.003502, allocations: 8.922 kB / 0.954 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.003589, allocations: 117.7 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.003603, allocations: 384 / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.003612, allocations: 4.375 kB / 0.9541 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.003756, allocations: 132.2 kB / 0.9542 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.003765, allocations: 192 / 0.9542 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.003775, allocations: 4.375 kB / 0.9542 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.00378, allocations: 384 / 0.9542 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.003826, allocations: 31.86 kB / 0.9543 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.004229, allocations: 212.6 kB / 0.9545 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.004326, allocations: 46.5 kB / 0.9545 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.004363, allocations: 20.94 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.004374, allocations: 0 / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.004489, allocations: 67.33 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.00449, allocations: 0 / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5): time 0.0001752/0.004665, allocations: 81.58 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.004715, allocations: 106.8 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.00477, allocations: 109.8 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.004786, allocations: 29.7 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.004823, allocations: 84.14 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.004845, allocations: 23.89 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.00488, allocations: 25.72 kB / 0.955 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.004959, allocations: 314.8 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.004987, allocations: 12 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.005047, allocations: 89.97 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.284e-05/0.0051, allocations: 40.98 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005102, allocations: 0.5 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.825e-05/0.00518, allocations: 77.59 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005192, allocations: 4 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.005197, allocations: 0 / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.005207, allocations: 4 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.005262, allocations: 8 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.005266, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.005324, allocations: 15.94 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.005331, allocations: 0 / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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.625e-05/0.005397, allocations: 121.8 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.005406, allocations: 7.938 kB / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.005427, allocations: 15.8 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.005428, allocations: 0 / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.005432, allocations: 0 / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005435, allocations: 0 / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.082e-05/0.005506, allocations: 113.3 kB / 0.9558 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.005507, allocations: 0 / 0.9558 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.005517, allocations: 11.88 kB / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.005518, allocations: 0 / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.005528, allocations: 7.938 kB / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.005529, allocations: 0 / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005529, allocations: 0 / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.005618, allocations: 97.06 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.005644, allocations: 11.98 kB / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.00566, allocations: 7.938 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.005704, allocations: 7.984 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.005735, allocations: 4 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005738, allocations: 4 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.00577, allocations: 83.33 kB / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00577, allocations: 0 / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001329/0.005903, allocations: 16 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.199e-05/0.005985, allocations: 115.3 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.006087, allocations: 31.98 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.006088, allocations: 0 / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.006115, allocations: 16 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.006229, allocations: 7.984 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.006493, allocations: 156.4 kB / 0.9564 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.006539, allocations: 67.34 kB / 0.9564 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.006565, allocations: 8.5 kB / 0.9564 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of SimCode: time 3.51e-07/0.006565, allocations: 4 kB / 0.9564 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of Templates: time 0.001696/0.008262, allocations: 0.8807 MB / 0.9573 GB, free: 12.91 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.065829249098897]