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.001085/0.001085, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001172/0.001172, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9317/0.9317, allocations: 177.1 MB / 203.7 MB, free: 5.496 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 2.333/2.333, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.233e-06/1.233e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.408e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002118/0.002143, allocations: 1.513 MB / 0.8912 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003493/0.002492, allocations: 183.3 kB / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.002529, allocations: 0 / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.002555, allocations: 3.984 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.002749, allocations: 27.73 kB / 0.8915 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.002901, allocations: 63.83 kB / 0.8915 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.002981, allocations: 63.78 kB / 0.8916 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.003054, allocations: 4 kB / 0.8916 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.003124, allocations: 39.95 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.00319, allocations: 15.92 kB / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.003209, allocations: 4 kB / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.00322, allocations: 4 kB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.003243, allocations: 19.97 kB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.003275, allocations: 23.92 kB / 0.8917 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.003354, allocations: 43.88 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003356, allocations: 4 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003357, allocations: 0 / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.00336, allocations: 0 / 0.8917 GB, free: 7.727 MB / 0.8542 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.0003696/0.00373, allocations: 388.4 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.003771, allocations: 12.62 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.0038, allocations: 4.938 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.543e-05/0.003875, allocations: 116.6 kB / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.003886, allocations: 4.375 kB / 0.8922 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.003897, allocations: 4.375 kB / 0.8922 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.004017, allocations: 145.3 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.004022, allocations: 4.188 kB / 0.8924 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.004031, allocations: 4.375 kB / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004035, allocations: 384 / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.004056, allocations: 11.94 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.004331, allocations: 256.4 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.004405, allocations: 47.06 kB / 0.8927 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.004422, allocations: 19.77 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-06/0.004428, allocations: 3.938 kB / 0.8927 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.101e-05/0.004509, allocations: 61.05 kB / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.00451, allocations: 4 kB / 0.8928 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0001288/0.004639, allocations: 73.52 kB / 0.8928 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.004684, allocations: 110.8 kB / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.004753, allocations: 157.9 kB / 0.8931 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.004767, allocations: 33.7 kB / 0.8931 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.004811, allocations: 134.8 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.004828, allocations: 11.91 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.004863, allocations: 35.34 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.004967, allocations: 492.1 kB / 0.8938 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.004984, allocations: 7.984 kB / 0.8938 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.005032, allocations: 94.44 kB / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.005066, allocations: 23.69 kB / 0.8939 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005067, allocations: 0 / 0.8939 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.868e-05/0.005136, allocations: 65.61 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005148, allocations: 7.938 kB / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005152, allocations: 0 / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.00516, allocations: 0 / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.005213, allocations: 12 kB / 0.894 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.005216, allocations: 3.984 kB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.005264, allocations: 12.45 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.005269, allocations: 240 / 0.894 GB, free: 5.145 MB / 0.8542 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.971e-05/0.005339, allocations: 164.6 kB / 0.8941 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.00535, allocations: 4 kB / 0.8941 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.00537, allocations: 11.73 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005372, allocations: 0 / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.005374, allocations: 7.938 kB / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005377, allocations: 0 / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.172e-05/0.005448, allocations: 105.2 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005449, allocations: 0 / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.005463, allocations: 4 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005464, allocations: 0 / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.005468, allocations: 4 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005469, allocations: 0 / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.005471, allocations: 7.922 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.005569, allocations: 112.3 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.005594, allocations: 7.938 kB / 0.8944 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.005608, allocations: 3.984 kB / 0.8944 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.005652, allocations: 6.188 kB / 0.8944 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.005676, allocations: 11.92 kB / 0.8944 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.005681, allocations: 4 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.373e-05/0.005714, allocations: 127.1 kB / 0.8945 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005714, allocations: 0 / 0.8945 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001195/0.005834, allocations: 16 kB / 0.8946 GB, free: 4.5 MB / 0.8542 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 8.229e-05/0.005916, allocations: 103.2 kB / 0.8947 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.64e-05/0.005992, allocations: 35.66 kB / 0.8947 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.005994, allocations: 0 / 0.8947 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.006018, allocations: 19.62 kB / 0.8947 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001027/0.006121, allocations: 12.36 kB / 0.8947 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.006449, allocations: 138.3 kB / 0.8949 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.704e-05/0.006477, allocations: 55.36 kB / 0.8949 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.006503, allocations: 8 kB / 0.8949 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.006581, allocations: 94.16 kB / 0.895 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.006581, allocations: 0 / 0.895 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of Templates: time 0.002435/0.009016, allocations: 1.063 MB / 0.896 GB, free: 2.961 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.150888653937727]