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.001053/0.001053, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0009333/0.0009333, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.9313/0.9313, allocations: 177.2 MB / 203.9 MB, free: 5.594 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.022/2.022, allocations: 428.5 MB / 0.6727 GB, free: 4.918 MB / 0.6355 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.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.543e-06/1.543e-06, allocations: 0 / 0.8771 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.983e-05, allocations: 3.312 kB / 0.8771 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001879/0.001908, allocations: 1.48 MB / 0.8785 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.002263, allocations: 184.8 kB / 0.8787 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.002302, allocations: 0 / 0.8787 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002327, allocations: 8.484 kB / 0.8787 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.002539, allocations: 28.56 kB / 0.8787 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.002697, allocations: 55.84 kB / 0.8788 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.002789, allocations: 63.11 kB / 0.8788 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.002877, allocations: 7.938 kB / 0.8788 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.002949, allocations: 41.5 kB / 0.8789 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.003018, allocations: 19.97 kB / 0.8789 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.003038, allocations: 4 kB / 0.8789 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.003048, allocations: 4 kB / 0.8789 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.00307, allocations: 19.67 kB / 0.8789 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.003109, allocations: 19.97 kB / 0.8789 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.5e-05/0.003204, allocations: 47.92 kB / 0.879 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003205, allocations: 0 / 0.879 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003206, allocations: 4 kB / 0.879 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.00321, allocations: 3.938 kB / 0.879 GB, free: 5.914 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.0004489/0.003659, allocations: 278.3 kB / 0.8793 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.003695, allocations: 8.031 kB / 0.8793 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.00374, allocations: 8.891 kB / 0.8793 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.003839, allocations: 126.6 kB / 0.8794 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.003851, allocations: 4.375 kB / 0.8794 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.003864, allocations: 384 / 0.8794 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.004018, allocations: 137.2 kB / 0.8795 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.004025, allocations: 192 / 0.8795 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004035, allocations: 1.094 kB / 0.8795 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.004039, allocations: 384 / 0.8795 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.004085, allocations: 28.86 kB / 0.8796 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.004413, allocations: 220.5 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.004509, allocations: 46.12 kB / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.004538, allocations: 12.86 kB / 0.8798 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.004548, allocations: 4 kB / 0.8798 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.004665, allocations: 71.36 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.004666, allocations: 0 / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001793/0.004845, allocations: 77.67 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.004897, allocations: 106.8 kB / 0.8801 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.239e-05/0.004959, allocations: 109.8 kB / 0.8802 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.004975, allocations: 25.7 kB / 0.8802 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.005012, allocations: 88.89 kB / 0.8803 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.005033, allocations: 11.84 kB / 0.8803 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.005065, allocations: 30.3 kB / 0.8803 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.005158, allocations: 319.3 kB / 0.8806 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.00518, allocations: 17.09 kB / 0.8807 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.005236, allocations: 94.03 kB / 0.8807 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.005285, allocations: 32.86 kB / 0.8808 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005287, allocations: 1.5 kB / 0.8808 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.27e-05/0.00537, allocations: 69.62 kB / 0.8808 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005381, allocations: 4 kB / 0.8808 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.005387, allocations: 4.484 kB / 0.8809 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005398, allocations: 8.031 kB / 0.8809 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.005457, allocations: 11.92 kB / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005462, allocations: 3.938 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.005528, allocations: 15.98 kB / 0.8809 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.005535, allocations: 0 / 0.8809 GB, free: 3.754 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 7.184e-05/0.005606, allocations: 113.8 kB / 0.881 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.00562, allocations: 11.89 kB / 0.881 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.005636, allocations: 7.812 kB / 0.881 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.00564, allocations: 4 kB / 0.881 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.005646, allocations: 0 / 0.881 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.005652, allocations: 7.984 kB / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.354e-05/0.005725, allocations: 109.3 kB / 0.8811 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005726, allocations: 0 / 0.8811 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.005738, allocations: 4 kB / 0.8811 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005739, allocations: 0 / 0.8811 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.005746, allocations: 3.938 kB / 0.8811 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005747, allocations: 0 / 0.8811 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005748, allocations: 0 / 0.8811 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.544e-05/0.005843, allocations: 101 kB / 0.8812 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.005868, allocations: 7.953 kB / 0.8812 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.005884, allocations: 7.922 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.005929, allocations: 18.19 kB / 0.8813 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.005961, allocations: 3.984 kB / 0.8813 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.005965, allocations: 4 kB / 0.8813 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.005995, allocations: 87.27 kB / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005995, allocations: 0 / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001325/0.006128, allocations: 12 kB / 0.8814 GB, free: 3.203 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 6.729e-05/0.006195, allocations: 95.5 kB / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.941e-05/0.006295, allocations: 39.92 kB / 0.8815 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006296, allocations: 8 kB / 0.8815 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/0.006323, allocations: 16 kB / 0.8815 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.006441, allocations: 7.984 kB / 0.8815 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.006704, allocations: 136.6 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.006754, allocations: 67.33 kB / 0.8817 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.006789, allocations: 11.98 kB / 0.8817 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.006815, allocations: 8.5 kB / 0.8817 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of SimCode: time 7.12e-07/0.006816, allocations: 3.938 kB / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of Templates: time 0.002345/0.009161, allocations: 0.9882 MB / 0.8827 GB, free: 1.824 MB / 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 -s cvode -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: 5.189477749168873]