Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.002321/0.002321, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002665/0.002665, allocations: 157.7 kB / 23.55 MB, free: 0.875 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 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.101/3.101, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.344e-05, allocations: 5.5 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002859/0.002892, allocations: 1.493 MB / 0.8123 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.003368, allocations: 186 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.00341, allocations: 0 / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.003436, allocations: 5.531 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.003662, allocations: 23.8 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.003853, allocations: 64.84 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003967, allocations: 55.84 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.004064, allocations: 11.94 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.004159, allocations: 40.67 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.004233, allocations: 15.98 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.00426, allocations: 4.531 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.096e-05/0.004281, allocations: 4.531 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.004313, allocations: 19.92 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.004362, allocations: 20.81 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.004486, allocations: 51.91 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.00449, allocations: 5.156 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004491, allocations: 3.938 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004495, allocations: 3.938 kB / 0.8128 GB, free: 88 kB / 0.7605 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.0007075/0.005203, allocations: 381.6 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.005239, allocations: 8.031 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.00529, allocations: 4.938 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.005431, allocations: 118.3 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.005455, allocations: 8.375 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.005471, allocations: 4.375 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.005684, allocations: 136.7 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005693, allocations: 192 / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.005707, allocations: 9.5 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.005716, allocations: 4.375 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.005778, allocations: 15.94 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.006292, allocations: 284.3 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.006434, allocations: 56.64 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.006482, allocations: 23.62 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.006495, allocations: 0 / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.006643, allocations: 71.67 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006644, allocations: 0 / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0002389/0.006883, allocations: 85.64 kB / 0.8139 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.006976, allocations: 110.7 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.007115, allocations: 161.9 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.007148, allocations: 37.69 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.007233, allocations: 126.9 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.007262, allocations: 20.56 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.007325, allocations: 31.36 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003932/0.007718, allocations: 0.4889 MB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.007761, allocations: 17.64 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.007882, allocations: 98.45 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.007961, allocations: 36.33 kB / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007962, allocations: 0 / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000144/0.008106, allocations: 82.02 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.008123, allocations: 8 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.008127, allocations: 1.031 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.00814, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.008225, allocations: 20.83 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.00823, allocations: 0 / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.00832, allocations: 8 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.008331, allocations: 4.844 kB / 0.8151 GB, free: 13.4 MB / 0.7761 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 0.0001351/0.008466, allocations: 170.7 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.008486, allocations: 7.938 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.008503, allocations: 3.812 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008504, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008507, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.008509, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.008653, allocations: 135.3 kB / 0.8154 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008654, allocations: 4 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.008678, allocations: 3.938 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008679, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.008693, allocations: 11.92 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.008694, allocations: 0 / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008695, allocations: 0 / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.008881, allocations: 102.1 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.008921, allocations: 15.97 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.008945, allocations: 7.938 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.00903, allocations: 7.984 kB / 0.8156 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.009061, allocations: 0.5 kB / 0.8156 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.009066, allocations: 0 / 0.8156 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.009159, allocations: 140.3 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009159, allocations: 0 / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001944/0.009353, allocations: 19.95 kB / 0.8157 GB, free: 12.73 MB / 0.7761 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 0.000122/0.009475, allocations: 101.8 kB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.009616, allocations: 43.67 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.009622, allocations: 4 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.009685, allocations: 23.67 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.009837, allocations: 9.688 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.01017, allocations: 147.5 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.019e-05/0.01024, allocations: 67.2 kB / 0.8161 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.01028, allocations: 4.844 kB / 0.8161 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.01031, allocations: 16.44 kB / 0.8161 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01031, allocations: 0.6562 kB / 0.8161 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.004038/0.01435, allocations: 0.9872 MB / 0.8171 GB, free: 11.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.21915589994751]