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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 496.2 MB / 0.7819 GB, free: 12.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=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: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 71.86 kB / 1.136 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.082, allocations: 173.6 MB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003202/1.085, allocations: 1.474 MB / 1.307 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005096/1.085, allocations: 192.9 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/1.085, allocations: 0 / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/1.085, allocations: 0.7969 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/1.086, allocations: 17.17 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/1.086, allocations: 58.55 kB / 1.307 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/1.086, allocations: 63.7 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/1.086, allocations: 8.188 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/1.086, allocations: 22.7 kB / 1.307 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/1.086, allocations: 24.31 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/1.086, allocations: 4.75 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/1.086, allocations: 3.5 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/1.086, allocations: 16.88 kB / 1.307 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/1.086, allocations: 22.27 kB / 1.307 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/1.087, allocations: 48.75 kB / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.087, allocations: 1 kB / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.087, allocations: 0 / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.087, allocations: 0 / 1.307 GB, free: 15.42 MB / 1.014 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.0006196/1.087, allocations: 363.2 kB / 1.308 GB, free: 15.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/1.087, allocations: 12.56 kB / 1.308 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/1.087, allocations: 3.281 kB / 1.308 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/1.087, allocations: 169 kB / 1.308 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.087, allocations: 1.5 kB / 1.308 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/1.087, allocations: 3.469 kB / 1.308 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/1.088, allocations: 77.95 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.088, allocations: 1.875 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/1.088, allocations: 7.938 kB / 1.308 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.088, allocations: 1.438 kB / 1.308 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/1.088, allocations: 19.3 kB / 1.308 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/1.088, allocations: 271.2 kB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/1.088, allocations: 33.03 kB / 1.308 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/1.088, allocations: 15.69 kB / 1.308 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/1.088, allocations: 5.156 kB / 1.308 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/1.088, allocations: 70.89 kB / 1.308 GB, free: 14.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/1.088, allocations: 0 / 1.308 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002338/1.089, allocations: 73.39 kB / 1.308 GB, free: 14.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/1.089, allocations: 109 kB / 1.309 GB, free: 14.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/1.089, allocations: 104.2 kB / 1.309 GB, free: 14.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.089, allocations: 30.92 kB / 1.309 GB, free: 14.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/1.089, allocations: 87.52 kB / 1.309 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/1.089, allocations: 10.17 kB / 1.309 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/1.089, allocations: 26.83 kB / 1.309 GB, free: 13.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.089, allocations: 321.9 kB / 1.309 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/1.089, allocations: 9.703 kB / 1.309 GB, free: 13.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/1.089, allocations: 31.61 kB / 1.309 GB, free: 13.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/1.089, allocations: 26.03 kB / 1.309 GB, free: 13.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.089, allocations: 4.031 kB / 1.309 GB, free: 13.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/1.089, allocations: 62.52 kB / 1.309 GB, free: 13.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.089, allocations: 6.047 kB / 1.309 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/1.089, allocations: 1.281 kB / 1.309 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.089, allocations: 0 / 1.309 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/1.09, allocations: 12.12 kB / 1.309 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/1.09, allocations: 0 / 1.309 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/1.09, allocations: 10.69 kB / 1.309 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/1.09, allocations: 2.172 kB / 1.309 GB, free: 13.52 MB / 1.014 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.0001089/1.09, allocations: 126 kB / 1.309 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/1.09, allocations: 2.531 kB / 1.309 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/1.09, allocations: 4.531 kB / 1.309 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/1.09, allocations: 1.375 kB / 1.309 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.09, allocations: 0.5625 kB / 1.309 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.09, allocations: 1.219 kB / 1.309 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/1.09, allocations: 179.7 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.09, allocations: 0.5156 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/1.09, allocations: 4.234 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.09, allocations: 192 / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.09, allocations: 5.781 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.09, allocations: 0.5625 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.09, allocations: 3.938 kB / 1.31 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/1.09, allocations: 98.17 kB / 1.31 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/1.09, allocations: 87.42 kB / 1.31 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/1.09, allocations: 1.094 kB / 1.31 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/1.09, allocations: 9.234 kB / 1.31 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/1.09, allocations: 8.484 kB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/1.09, allocations: 1.125 kB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.738e-05/1.091, allocations: 87.11 kB / 1.31 GB, free: 12.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 0 / 1.31 GB, free: 12.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002517/1.091, allocations: 9.688 kB / 1.31 GB, free: 12.91 MB / 1.014 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.0001415/1.091, allocations: 104.5 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001345/1.091, allocations: 33.42 kB / 1.31 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.091, allocations: 0 / 1.31 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/1.091, allocations: 18.42 kB / 1.31 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/1.091, allocations: 14.77 kB / 1.31 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/1.092, allocations: 131.4 kB / 1.31 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/1.092, allocations: 0.6812 MB / 1.311 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.981e-05/1.092, allocations: 5.203 kB / 1.311 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/1.092, allocations: 10.98 kB / 1.311 GB, free: 11.96 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.092, allocations: 0 / 1.311 GB, free: 11.96 MB / 1.014 GB Notification: Performance of Templates: time 0.003557/1.096, allocations: 0.9068 MB / 1.312 GB, free: 11.88 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.623626933433115]