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.001943/0.001943, allocations: 95.06 kB / 19.44 MB, free: 464 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.001785/0.001785, allocations: 165.2 kB / 22.75 MB, free: 1.793 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.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.216/3.216, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.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.493e-06/1.493e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.214e-05, allocations: 10.5 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002975/0.003007, allocations: 1.473 MB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.003546, allocations: 186.2 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.003592, allocations: 0 / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.003626, allocations: 7.922 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.003857, allocations: 19.53 kB / 0.8793 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.004073, allocations: 55.91 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.004204, allocations: 63.83 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.00429, allocations: 5 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.004405, allocations: 39.91 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.736e-05/0.004482, allocations: 11.97 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.004511, allocations: 11.41 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.004526, allocations: 4 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.004561, allocations: 19.92 kB / 0.8795 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.004615, allocations: 19.91 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.004761, allocations: 63.78 kB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004764, allocations: 0 / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004764, allocations: 0 / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004769, allocations: 0 / 0.8795 GB, free: 4.535 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.0006547/0.005423, allocations: 282.9 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.00547, allocations: 8.031 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.005547, allocations: 14.27 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.005713, allocations: 113.7 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.005739, allocations: 8.375 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.005756, allocations: 1.906 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.006003, allocations: 136.2 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.006016, allocations: 4.172 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.006029, allocations: 384 / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.006034, allocations: 384 / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.006109, allocations: 27.92 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.006627, allocations: 220.5 kB / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.006772, allocations: 46.56 kB / 0.8804 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.00682, allocations: 12.86 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.006836, allocations: 4 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.007018, allocations: 63.42 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.007019, allocations: 0 / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002791/0.007298, allocations: 85.61 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.007391, allocations: 106.8 kB / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.007503, allocations: 109.8 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.007532, allocations: 29.7 kB / 0.8808 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.007687, allocations: 88.17 kB / 0.8808 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.00772, allocations: 19.83 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.007774, allocations: 21.7 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.00795, allocations: 322.8 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.00799, allocations: 12 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.008096, allocations: 89.97 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.00818, allocations: 32.8 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008182, allocations: 0 / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001494/0.008331, allocations: 85.73 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008345, allocations: 4 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008349, allocations: 4 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.008366, allocations: 0 / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.008445, allocations: 7.984 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.00845, allocations: 0 / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.008568, allocations: 12.48 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.008577, allocations: 0 / 0.8814 GB, free: 2.371 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.0001134/0.008691, allocations: 117.8 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.008715, allocations: 15.89 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.008745, allocations: 11.81 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.00875, allocations: 4 kB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.008754, allocations: 0 / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.008758, allocations: 3.984 kB / 0.8816 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.008887, allocations: 113.3 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008888, allocations: 0 / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.008916, allocations: 4 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008918, allocations: 0 / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.008928, allocations: 3.938 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.00893, allocations: 0 / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00893, allocations: 4 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.009116, allocations: 101 kB / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.009154, allocations: 7.953 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.009178, allocations: 3.938 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.009286, allocations: 11.98 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.00933, allocations: 7.984 kB / 0.8818 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.009338, allocations: 4 kB / 0.8818 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.009406, allocations: 87.27 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.009406, allocations: 0 / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002088/0.009615, allocations: 12 kB / 0.8819 GB, free: 1.805 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.0001268/0.009742, allocations: 99.25 kB / 0.882 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.009878, allocations: 39.98 kB / 0.882 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00988, allocations: 0 / 0.882 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.009927, allocations: 16.19 kB / 0.8821 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.0101, allocations: 7.984 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.01044, allocations: 128.6 kB / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.145e-05/0.01052, allocations: 71.14 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.151e-05/0.01057, allocations: 19.97 kB / 0.8823 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.0106, allocations: 8.5 kB / 0.8823 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.0106, allocations: 0 / 0.8823 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of Templates: time 0.00392/0.01452, allocations: 0.9954 MB / 0.8833 GB, free: 448 kB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.351251523010433]