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.00143/0.00143, allocations: 92.7 kB / 19.44 MB, free: 324 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.001645/0.001645, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.541/1.541, 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.375/3.375, allocations: 429.6 MB / 0.673 GB, free: 3.902 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 1.463e-06/1.463e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.613e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003477/0.003503, allocations: 1.481 MB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006167/0.00412, allocations: 182.7 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.004178, allocations: 0 / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.004218, allocations: 3.938 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.004525, allocations: 34.22 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.004744, allocations: 51.86 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.004867, allocations: 63.77 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.004954, allocations: 7.984 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.005048, allocations: 31.98 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.005133, allocations: 29.23 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.005158, allocations: 4 kB / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.005175, allocations: 4 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.005204, allocations: 12.7 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.005264, allocations: 12 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.0054, allocations: 64.42 kB / 0.8795 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005402, allocations: 0 / 0.8795 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.175e-06/0.005405, allocations: 5.594 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005409, allocations: 0 / 0.8795 GB, free: 4.516 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.0005937/0.006003, allocations: 278.3 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.006039, allocations: 13.97 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.006096, allocations: 8.891 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.006239, allocations: 113.7 kB / 0.8799 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.006256, allocations: 4.375 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.006273, allocations: 4.375 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.00648, allocations: 132.2 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006488, allocations: 2.719 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.006503, allocations: 4.359 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.006507, allocations: 384 / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.006574, allocations: 27.88 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.007044, allocations: 220.5 kB / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.007189, allocations: 43.28 kB / 0.8804 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.007235, allocations: 20.94 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.00725, allocations: 5.594 kB / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.007421, allocations: 67.33 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.007423, allocations: 0 / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002405/0.007663, allocations: 85.62 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.007746, allocations: 108.1 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.007846, allocations: 105.8 kB / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.007873, allocations: 29.7 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.007938, allocations: 96.08 kB / 0.8808 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.007968, allocations: 19.84 kB / 0.8809 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.008021, allocations: 25.7 kB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.008192, allocations: 310.8 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.008237, allocations: 15.98 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.963e-05/0.008336, allocations: 85.98 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.008414, allocations: 40.91 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008415, allocations: 0 / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001467/0.008562, allocations: 77.7 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.008578, allocations: 8 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.008583, allocations: 0 / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.008598, allocations: 4.031 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.008672, allocations: 4 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008677, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.008795, allocations: 11.98 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.008804, allocations: 0 / 0.8814 GB, free: 2.355 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.0001073/0.008911, allocations: 113.8 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.008941, allocations: 15.88 kB / 0.8815 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.008966, allocations: 7.812 kB / 0.8816 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008967, allocations: 4 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.008971, allocations: 4 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008973, allocations: 0 / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.009108, allocations: 109.3 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009109, allocations: 0 / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.009134, allocations: 4 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009137, allocations: 0 / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.009148, allocations: 3.938 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.009152, allocations: 8.422 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009153, allocations: 0 / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.009319, allocations: 97.12 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.009357, allocations: 11.94 kB / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.009387, allocations: 19.88 kB / 0.8818 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.009495, allocations: 7.984 kB / 0.8818 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.009528, allocations: 0 / 0.8818 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.00954, allocations: 7.984 kB / 0.8818 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.009601, allocations: 83.28 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009601, allocations: 0 / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002078/0.009809, allocations: 12 kB / 0.8819 GB, free: 1.793 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.0001354/0.009944, allocations: 99.25 kB / 0.882 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.01007, allocations: 39.92 kB / 0.882 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01008, allocations: 4 kB / 0.8821 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.01012, allocations: 15.98 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.01029, allocations: 10.59 kB / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.01064, allocations: 140.6 kB / 0.8822 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.01071, allocations: 71.2 kB / 0.8823 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.01074, allocations: 4 kB / 0.8823 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.01078, allocations: 8.5 kB / 0.8823 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/0.01078, allocations: 4 kB / 0.8823 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of Templates: time 0.003876/0.01465, allocations: 1.002 MB / 0.8833 GB, free: 420 kB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 800] 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.36001435003709]