Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001291/0.001291, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001273/0.001273, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.407/1.407, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.684/2.684, allocations: 437 MB / 0.7177 GB, free: 4.527 MB / 0.5606 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.88 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002762/0.2931, allocations: 1.461 MB / 1.177 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004585/0.2935, allocations: 187.4 kB / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.2936, allocations: 0 / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.2936, allocations: 0 / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.2939, allocations: 19.84 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.2941, allocations: 63.84 kB / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2942, allocations: 59.84 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.2943, allocations: 7.938 kB / 1.178 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.2943, allocations: 23.92 kB / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.2944, allocations: 27.89 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.2945, allocations: 4 kB / 1.178 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.2945, allocations: 4 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.2945, allocations: 8 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.2946, allocations: 27.86 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2947, allocations: 43.86 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2947, allocations: 4 kB / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2947, allocations: 0 / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2947, allocations: 0 / 1.178 GB, free: 3.941 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.0005843/0.2953, allocations: 359.3 kB / 1.178 GB, free: 3.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2954, allocations: 8.031 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.2954, allocations: 4.938 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2955, allocations: 168.3 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2956, allocations: 4.375 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2956, allocations: 384 / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2958, allocations: 80.81 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2958, allocations: 4.188 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2958, allocations: 3.938 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2958, allocations: 3.938 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.221e-05/0.2959, allocations: 23.92 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.2963, allocations: 280.8 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.2964, allocations: 38.58 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.2965, allocations: 16.94 kB / 1.179 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.2965, allocations: 4 kB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.2967, allocations: 59.33 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2967, allocations: 0 / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.2969, allocations: 73.67 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.297, allocations: 106.8 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.2971, allocations: 105.9 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2971, allocations: 25.7 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.2972, allocations: 92.08 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2972, allocations: 7.953 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.2973, allocations: 29.64 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2974, allocations: 314.8 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.2974, allocations: 15.94 kB / 1.18 GB, free: 1.906 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.2975, allocations: 34.56 kB / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.2976, allocations: 24.86 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2976, allocations: 0 / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.2977, allocations: 61.64 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2977, allocations: 8 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2977, allocations: 0 / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2977, allocations: 0 / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.2978, allocations: 11.92 kB / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2978, allocations: 4.031 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2979, allocations: 17.92 kB / 1.18 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.298, allocations: 0 / 1.18 GB, free: 1.73 MB / 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.0001045/0.2981, allocations: 117.8 kB / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.2981, allocations: 0 / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.2981, allocations: 7.688 kB / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2981, allocations: 4 kB / 1.18 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2981, allocations: 3.984 kB / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2981, allocations: 4 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2983, allocations: 173.6 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2983, allocations: 0 / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.2983, allocations: 4 kB / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2983, allocations: 0 / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2983, allocations: 0 / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2983, allocations: 0 / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.2984, allocations: 7.984 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.2985, allocations: 96.89 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.2986, allocations: 93.09 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.2986, allocations: 0 / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2987, allocations: 7.984 kB / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2988, allocations: 4 kB / 1.18 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2988, allocations: 3.984 kB / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.2988, allocations: 87.28 kB / 1.18 GB, free: 1.027 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2988, allocations: 0 / 1.18 GB, free: 1.027 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001931/0.299, allocations: 12 kB / 1.18 GB, free: 1.016 MB / 0.92 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.0001372/0.2992, allocations: 107.2 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.2993, allocations: 31.98 kB / 1.18 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2993, allocations: 0 / 1.18 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.2994, allocations: 19.92 kB / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.2995, allocations: 7.938 kB / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.2999, allocations: 147.1 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3002, allocations: 0.6768 MB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.3002, allocations: 19.42 kB / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3002, allocations: 0 / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of Templates: time 0.002433/0.3027, allocations: 0.839 MB / 1.182 GB, free: 15.12 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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: 10.14561887900345]