Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.001342/0.001342, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00148/0.00148, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.88 kB / 1.061 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.005369/1.022, allocations: 1.481 MB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008568/1.022, allocations: 185.4 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/1.022, allocations: 0 / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/1.023, allocations: 7.938 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003499/1.023, allocations: 26.19 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/1.023, allocations: 58.55 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/1.023, allocations: 56.31 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/1.024, allocations: 7.391 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/1.024, allocations: 28.02 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/1.024, allocations: 17.58 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/1.024, allocations: 8.75 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.672e-05/1.024, allocations: 4.531 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/1.024, allocations: 18.38 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/1.024, allocations: 25.95 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/1.024, allocations: 49 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/1.024, allocations: 5.219 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/1.024, allocations: 0 / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.015e-06/1.024, allocations: 0 / 1.22 GB, free: 2.199 MB / 0.92 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.0009273/1.025, allocations: 353.5 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/1.025, allocations: 8.906 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/1.025, allocations: 8.328 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/1.026, allocations: 174.6 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.026, allocations: 1.5 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/1.026, allocations: 2.531 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/1.026, allocations: 75.3 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.026, allocations: 192 / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/1.026, allocations: 4.969 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.026, allocations: 1.094 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/1.026, allocations: 20.86 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/1.027, allocations: 277.5 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/1.027, allocations: 38 kB / 1.221 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/1.027, allocations: 13.7 kB / 1.221 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.027, allocations: 1.094 kB / 1.221 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/1.027, allocations: 71.09 kB / 1.221 GB, free: 1.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 2.315e-06/1.027, allocations: 0 / 1.221 GB, free: 1.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003938/1.028, allocations: 66.41 kB / 1.221 GB, free: 1.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.028, allocations: 107.9 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/1.028, allocations: 110.1 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/1.028, allocations: 26.73 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.028, allocations: 85.25 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/1.028, allocations: 17.91 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/1.028, allocations: 24.03 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002502/1.029, allocations: 323.6 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/1.029, allocations: 9.188 kB / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.92e-05/1.029, allocations: 36.56 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/1.029, allocations: 28.36 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.029, allocations: 0 / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002095/1.029, allocations: 60.77 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.029, allocations: 4.969 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.029, allocations: 4.031 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.029, allocations: 1.094 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.029, allocations: 9.125 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.029, allocations: 5.047 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/1.029, allocations: 8.656 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.029, allocations: 0 / 1.222 GB, free: 228 kB / 0.92 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.0001658/1.03, allocations: 125.4 kB / 1.222 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/1.03, allocations: 2.188 kB / 1.222 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/1.03, allocations: 12.75 kB / 1.222 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.03, allocations: 1.156 kB / 1.222 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.03, allocations: 0 / 1.222 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.03, allocations: 1.469 kB / 1.222 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/1.03, allocations: 173 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.03, allocations: 1.188 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/1.03, allocations: 6.844 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.03, allocations: 1.312 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.03, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/1.03, allocations: 5.281 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.03, allocations: 0 / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/1.03, allocations: 99.53 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.031, allocations: 91.69 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/1.031, allocations: 1.562 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/1.031, allocations: 8.797 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/1.031, allocations: 5.156 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/1.031, allocations: 2.375 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.484e-05/1.031, allocations: 87.77 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.031, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003869/1.031, allocations: 13.84 kB / 1.223 GB, free: 15.57 MB / 0.9356 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.0001788/1.031, allocations: 102 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002004/1.032, allocations: 32.92 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.032, allocations: 0.9688 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/1.032, allocations: 19.77 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/1.032, allocations: 13.19 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/1.033, allocations: 124.7 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/1.033, allocations: 0.6791 MB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.182e-05/1.033, allocations: 4.5 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/1.033, allocations: 14.86 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of SimCode: time 6.02e-07/1.033, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.006715/1.04, allocations: 0.9168 MB / 1.225 GB, free: 14.16 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.024664724245667]