Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.002605/0.002605, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.00342/0.00342, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.33/3.33, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.549e-06/4.549e-06, allocations: 4.875 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.891e-05, allocations: 3.062 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002797/0.002826, allocations: 1.49 MB / 0.8789 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004733/0.0033, allocations: 182.5 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.003339, allocations: 0 / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.003363, allocations: 3.938 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.003583, allocations: 33.56 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.003766, allocations: 56.17 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003894, allocations: 67.77 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.003972, allocations: 3.938 kB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.004061, allocations: 35.97 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.00414, allocations: 23.91 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.004166, allocations: 4 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.004184, allocations: 4 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.004214, allocations: 12.61 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.004268, allocations: 27.91 kB / 0.8794 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.004394, allocations: 49.58 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004396, allocations: 0 / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004396, allocations: 0 / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.004399, allocations: 0 / 0.8794 GB, free: 4.664 MB / 0.8386 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.0006533/0.005053, allocations: 388.7 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.005093, allocations: 13.41 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.005148, allocations: 8.891 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.005292, allocations: 116.5 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.005311, allocations: 4.375 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.00533, allocations: 9.719 kB / 0.8799 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.005541, allocations: 132.7 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005551, allocations: 192 / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.005569, allocations: 13.89 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.005573, allocations: 384 / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.005644, allocations: 23.88 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.006155, allocations: 283.7 kB / 0.8804 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.00629, allocations: 55.06 kB / 0.8804 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.00634, allocations: 23.77 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.006354, allocations: 3.938 kB / 0.8804 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.006494, allocations: 72.98 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.006495, allocations: 4 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002387/0.006734, allocations: 73.69 kB / 0.8806 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.006823, allocations: 110.8 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.006962, allocations: 174.1 kB / 0.8808 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.006986, allocations: 25.7 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.007078, allocations: 146.8 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.007104, allocations: 15.84 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.007166, allocations: 31.36 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002566/0.007422, allocations: 0.4884 MB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.007573, allocations: 16.06 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.007693, allocations: 98.44 kB / 0.8816 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.787e-05/0.007771, allocations: 35.84 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.007775, allocations: 4 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001417/0.007917, allocations: 77.55 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.007931, allocations: 8 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.007935, allocations: 0 / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.007948, allocations: 4.031 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.008033, allocations: 11.98 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.008037, allocations: 0 / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.008123, allocations: 4 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.008135, allocations: 4 kB / 0.8818 GB, free: 1.953 MB / 0.8386 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.000126/0.008261, allocations: 160.6 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.008288, allocations: 19.88 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.008312, allocations: 3.812 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.008313, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.008316, allocations: 4 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008318, allocations: 0 / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.008455, allocations: 132.6 kB / 0.8821 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008456, allocations: 0 / 0.8821 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.008477, allocations: 0 / 0.8821 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008479, allocations: 4 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.008488, allocations: 3.938 kB / 0.8821 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.008492, allocations: 7.922 kB / 0.8821 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008493, allocations: 0 / 0.8821 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.00867, allocations: 100.4 kB / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.008705, allocations: 12.25 kB / 0.8822 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.008733, allocations: 15.94 kB / 0.8822 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.008818, allocations: 11.98 kB / 0.8822 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.00885, allocations: 0 / 0.8822 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.008859, allocations: 4 kB / 0.8822 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.433e-05/0.008943, allocations: 131.2 kB / 0.8824 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.008943, allocations: 0 / 0.8824 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001917/0.009135, allocations: 12 kB / 0.8824 GB, free: 1.27 MB / 0.8386 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.0001181/0.009253, allocations: 99.25 kB / 0.8825 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.009397, allocations: 47.61 kB / 0.8825 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009398, allocations: 4 kB / 0.8825 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.009449, allocations: 27.67 kB / 0.8826 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.009607, allocations: 6.344 kB / 0.8826 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.009946, allocations: 158.1 kB / 0.8827 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.719e-05/0.01001, allocations: 67.2 kB / 0.8828 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.01005, allocations: 4 kB / 0.8828 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.01008, allocations: 12.5 kB / 0.8828 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.01008, allocations: 0 / 0.8828 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of Templates: time 0.004104/0.01418, allocations: 0.9969 MB / 0.8838 GB, free: 15.85 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.342751780059189]