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.001315/0.001315, allocations: 76.55 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.001049/0.001049, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.937/0.937, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763/1.763, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.303e-06/1.303e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.009e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00171/0.00173, allocations: 1.475 MB / 0.9837 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.002041, allocations: 179.3 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.002077, allocations: 7.938 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.002104, allocations: 7.922 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.0023, allocations: 13.62 kB / 0.9839 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.00244, allocations: 59.91 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.002529, allocations: 67.77 kB / 0.984 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.002612, allocations: 7.938 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.002685, allocations: 31.97 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.002753, allocations: 23.91 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.002777, allocations: 4 kB / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.002788, allocations: 8 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.002807, allocations: 7.984 kB / 0.9841 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.002844, allocations: 23.91 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.356e-05/0.002937, allocations: 59.84 kB / 0.9841 GB, free: 104 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002939, allocations: 4 kB / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00294, allocations: 0 / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.002945, allocations: 0 / 0.9841 GB, free: 100 kB / 0.9323 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.0004313/0.003376, allocations: 284.8 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.003413, allocations: 12.03 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.003446, allocations: 0.9375 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/0.003533, allocations: 117.7 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.003549, allocations: 12.36 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.003558, allocations: 384 / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.003706, allocations: 136.2 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003714, allocations: 4.188 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.003726, allocations: 4.375 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.00373, allocations: 384 / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.003775, allocations: 27.86 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.004102, allocations: 216.5 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.004193, allocations: 54.44 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.004217, allocations: 12.86 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.004227, allocations: 4 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.004339, allocations: 63.42 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.00434, allocations: 4 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0001688/0.004509, allocations: 85.56 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.004562, allocations: 106.8 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.004619, allocations: 109.8 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.004633, allocations: 25.7 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.004932, allocations: 84.14 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.004952, allocations: 15.84 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.004985, allocations: 25.7 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.00506, allocations: 318.8 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.005083, allocations: 12 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.005134, allocations: 93.97 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.005183, allocations: 33 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005185, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.937e-05/0.005265, allocations: 77.62 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.005277, allocations: 8 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.005281, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.005291, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.005345, allocations: 7.984 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.00535, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.005406, allocations: 19.94 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.005412, allocations: 32 / 0.986 GB, free: 13.93 MB / 0.948 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 5.739e-05/0.00547, allocations: 117.8 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.005479, allocations: 7.938 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.4e-05/0.005493, allocations: 3.812 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005494, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.0055, allocations: 4.5 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.005506, allocations: 3.938 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.58e-05/0.005571, allocations: 109.3 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.005575, allocations: 7.984 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-06/0.005584, allocations: 7.938 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-07/0.005585, allocations: 4 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.005593, allocations: 7.938 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005594, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005594, allocations: 3.938 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.295e-05/0.005677, allocations: 93.08 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.005703, allocations: 7.984 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.005719, allocations: 7.938 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.005762, allocations: 7.984 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.005789, allocations: 7.984 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.005793, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.805e-05/0.005821, allocations: 87.28 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.005821, allocations: 4 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000124/0.005945, allocations: 11.94 kB / 0.9865 GB, free: 13.38 MB / 0.948 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 7.179e-05/0.006017, allocations: 111.2 kB / 0.9866 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.054e-05/0.006107, allocations: 31.98 kB / 0.9866 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006108, allocations: 0 / 0.9866 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.006136, allocations: 19.94 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.006244, allocations: 6.969 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.006486, allocations: 162.4 kB / 0.9868 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.006522, allocations: 67.34 kB / 0.9869 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.006546, allocations: 12.5 kB / 0.9869 GB, free: 12.92 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.006547, allocations: 0 / 0.9869 GB, free: 12.92 MB / 0.948 GB Notification: Performance of Templates: time 0.001563/0.00811, allocations: 0.8958 MB / 0.9878 GB, free: 12.04 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400] 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] "" 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.88404278177768]