Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008941/0.0008941, allocations: 76.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.0008756/0.0008756, allocations: 173.9 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.8828/0.8828, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.822/1.822, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.744e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00192/0.001947, allocations: 1.473 MB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005199/0.002467, allocations: 180.1 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.00251, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.00254, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.002758, allocations: 31.72 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.002904, allocations: 55.86 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.002997, allocations: 67.77 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.003093, allocations: 11.92 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.003168, allocations: 31.98 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.003239, allocations: 19.89 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.003266, allocations: 8 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.003277, allocations: 4 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.003301, allocations: 15.98 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.003339, allocations: 15.92 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.003451, allocations: 67.83 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003454, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003456, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.00346, allocations: 4 kB / 1.003 GB, free: 11.03 MB / 0.9636 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.0004607/0.003921, allocations: 278.3 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.003959, allocations: 8.75 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.004002, allocations: 8.891 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.002e-05/0.004092, allocations: 109.7 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.004107, allocations: 4.375 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.004118, allocations: 4.375 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.004268, allocations: 136.2 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.004278, allocations: 4.125 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.00429, allocations: 4.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004296, allocations: 4.375 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.004341, allocations: 15.94 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.004703, allocations: 220.5 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.004802, allocations: 42.56 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.00483, allocations: 20.8 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.004839, allocations: 7.938 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.005006, allocations: 71.42 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.005007, allocations: 0 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001822/0.005189, allocations: 77.69 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.005246, allocations: 110.7 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.005304, allocations: 105.8 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.00532, allocations: 33.7 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.005359, allocations: 88.08 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.005381, allocations: 19.95 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.005418, allocations: 21.7 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.005492, allocations: 318.8 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.00552, allocations: 19.98 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.005572, allocations: 85.97 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.005621, allocations: 32.86 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.005623, allocations: 0 / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.598e-05/0.005709, allocations: 77.52 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.005723, allocations: 4 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005727, allocations: 0 / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.00574, allocations: 3.984 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.005805, allocations: 8 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00581, allocations: 0 / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.005871, allocations: 12.02 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.00588, allocations: 8 kB / 1.005 GB, free: 8.867 MB / 0.9636 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.573e-05/0.005946, allocations: 113.8 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.005956, allocations: 7.891 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.005977, allocations: 11.81 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.005979, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.005984, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005987, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.357e-05/0.00606, allocations: 113.3 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006061, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.006076, allocations: 8 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.006077, allocations: 0 / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.006085, allocations: 4.438 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.006088, allocations: 7.922 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006089, allocations: 7.938 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.006184, allocations: 93.12 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.006213, allocations: 11.94 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.006233, allocations: 3.938 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.006286, allocations: 15.98 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.006316, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.006322, allocations: 11.98 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.006355, allocations: 83.28 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006355, allocations: 3.938 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001319/0.006487, allocations: 12 kB / 1.005 GB, free: 8.305 MB / 0.9636 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 9.499e-05/0.006582, allocations: 95.25 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.006691, allocations: 47.92 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006692, allocations: 0 / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.006721, allocations: 15.98 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.00684, allocations: 6.375 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.007119, allocations: 158.4 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.007165, allocations: 71.27 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.007197, allocations: 16.5 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.007197, allocations: 0 / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of Templates: time 0.001737/0.008934, allocations: 0.8862 MB / 1.006 GB, free: 6.969 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time [Calling sys.exit(0), Time elapsed: 6.843568827956915]