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.001422/0.001422, 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.001556/0.001556, 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.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001925/0.001925, allocations: 67.89 kB / 1.059 GB, free: 368 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3516, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00292/0.3545, allocations: 1.477 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005125/0.355, allocations: 196.4 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.355, allocations: 0 / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.3551, allocations: 3.938 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.3553, allocations: 19.84 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3555, allocations: 55.92 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.3556, allocations: 59.83 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.3557, allocations: 7.938 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.3558, allocations: 23.92 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.3558, allocations: 27.91 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.3559, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.3559, allocations: 4 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.3559, allocations: 11.98 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.356, allocations: 23.92 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3561, allocations: 51.73 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3561, allocations: 3.938 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3561, allocations: 0 / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3561, allocations: 0 / 1.218 GB, free: 13.35 MB / 0.9669 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.0006204/0.3567, allocations: 359.3 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3568, allocations: 12.03 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.3568, allocations: 0.9375 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3569, allocations: 168.3 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.357, allocations: 4.375 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.357, allocations: 4.375 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3571, allocations: 76.75 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3571, allocations: 192 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3572, allocations: 11.92 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3572, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.3e-05/0.3572, allocations: 12 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3576, allocations: 276.8 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3577, allocations: 42.5 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.3578, allocations: 16.94 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3578, allocations: 4 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.358, allocations: 63.39 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.358, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002396/0.3582, allocations: 69.67 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.3583, allocations: 106.8 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3584, allocations: 105.8 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.3584, allocations: 29.7 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3585, allocations: 92.09 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3585, allocations: 7.953 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3586, allocations: 21.7 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3587, allocations: 318.8 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.3588, allocations: 8 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.3588, allocations: 34.56 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.3589, allocations: 29.22 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3589, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001111/0.359, allocations: 69.62 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.359, allocations: 13.97 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.359, allocations: 3.938 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.359, allocations: 3.984 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3591, allocations: 4 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3591, allocations: 4 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.3592, allocations: 11.92 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.3592, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 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.000104/0.3593, allocations: 125.8 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.3593, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.3594, allocations: 3.5 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3594, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3594, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3594, allocations: 3.984 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3595, allocations: 173.6 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3595, allocations: 0 / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.3596, allocations: 4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3596, allocations: 0 / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3596, allocations: 7.984 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3596, allocations: 4 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3596, allocations: 3.938 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3597, allocations: 89.02 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.3598, allocations: 89.09 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3598, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3599, allocations: 11.98 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3599, allocations: 3.984 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.36, allocations: 8 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.36, allocations: 87.34 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 0 / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001925/0.3602, allocations: 8 kB / 1.221 GB, free: 10.43 MB / 0.9669 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.0001303/0.3603, allocations: 107.2 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.3605, allocations: 32.16 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3605, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.3605, allocations: 15.97 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3607, allocations: 15.94 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.361, allocations: 133.4 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3613, allocations: 0.6807 MB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.898e-05/0.3614, allocations: 7.984 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.3614, allocations: 11.38 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.3614, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of Templates: time 0.003679/0.3651, allocations: 0.9003 MB / 1.222 GB, free: 8.516 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.27618379238993]