Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008432/0.0008432, allocations: 76.5 kB / 19.93 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.0008768/0.0008768, allocations: 178.2 kB / 23.21 MB, free: 1.34 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.8889/0.8889, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.754/1.754, allocations: 377.8 MB / 0.6228 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9822 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.665e-05, allocations: 9.375 kB / 0.9822 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001779/0.001806, allocations: 1.471 MB / 0.9837 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000344/0.00215, allocations: 175.3 kB / 0.9838 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.002188, allocations: 3.938 kB / 0.9838 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.002217, allocations: 7.922 kB / 0.9838 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.002425, allocations: 26.86 kB / 0.9839 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.002578, allocations: 59.78 kB / 0.9839 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.002671, allocations: 67.77 kB / 0.984 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.002762, allocations: 8 kB / 0.984 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.00283, allocations: 31.97 kB / 0.984 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.0029, allocations: 23.91 kB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.002926, allocations: 4 kB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.002936, allocations: 8 kB / 0.9841 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.002956, allocations: 7.984 kB / 0.9841 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.002996, allocations: 35.84 kB / 0.9841 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.003095, allocations: 55.84 kB / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003097, allocations: 0 / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003098, allocations: 0 / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.003102, allocations: 0 / 0.9841 GB, free: 14.96 MB / 0.9011 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.0004561/0.003558, allocations: 282.2 kB / 0.9844 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.003595, allocations: 12.03 kB / 0.9844 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.003629, allocations: 0.9375 kB / 0.9844 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.011e-05/0.00372, allocations: 121.7 kB / 0.9845 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.003734, allocations: 4.375 kB / 0.9845 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.003744, allocations: 8.375 kB / 0.9846 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.003886, allocations: 128.2 kB / 0.9847 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003893, allocations: 192 / 0.9847 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.003904, allocations: 384 / 0.9847 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.003909, allocations: 384 / 0.9847 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.003957, allocations: 27.86 kB / 0.9847 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.004288, allocations: 228.4 kB / 0.9849 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.004379, allocations: 42.56 kB / 0.985 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.004404, allocations: 12.86 kB / 0.985 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.004413, allocations: 8 kB / 0.985 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.004535, allocations: 71.36 kB / 0.9851 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.004536, allocations: 0 / 0.9851 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001649/0.004701, allocations: 77.62 kB / 0.9851 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.00475, allocations: 110.8 kB / 0.9852 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.004804, allocations: 106.3 kB / 0.9853 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.004817, allocations: 25.7 kB / 0.9854 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.004854, allocations: 88.14 kB / 0.9854 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.004872, allocations: 11.84 kB / 0.9855 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.004906, allocations: 25.7 kB / 0.9855 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.004977, allocations: 322.8 kB / 0.9858 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.005001, allocations: 12 kB / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.005056, allocations: 101.9 kB / 0.9859 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.0051, allocations: 24.86 kB / 0.9859 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005102, allocations: 4.062 kB / 0.9859 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.585e-05/0.005178, allocations: 69.62 kB / 0.986 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005189, allocations: 8 kB / 0.986 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005193, allocations: 0 / 0.986 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.005204, allocations: 0 / 0.986 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.005262, allocations: 11.98 kB / 0.986 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.005268, allocations: 7.938 kB / 0.986 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.005325, allocations: 15.97 kB / 0.986 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.005331, allocations: 3.938 kB / 0.986 GB, free: 12.8 MB / 0.9011 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.418e-05/0.005395, allocations: 117.8 kB / 0.9861 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.005403, allocations: 3.938 kB / 0.9861 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.005417, allocations: 3.812 kB / 0.9862 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.00542, allocations: 4 kB / 0.9862 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.005424, allocations: 0 / 0.9862 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005428, allocations: 3.984 kB / 0.9862 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.169e-05/0.005499, allocations: 121.4 kB / 0.9863 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.0055, allocations: 4 kB / 0.9863 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.00551, allocations: 7.938 kB / 0.9863 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005512, allocations: 0 / 0.9863 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.005519, allocations: 3.938 kB / 0.9863 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00552, allocations: 0 / 0.9863 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.005521, allocations: 0 / 0.9863 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.005603, allocations: 97.02 kB / 0.9864 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.00563, allocations: 11.98 kB / 0.9864 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.005644, allocations: 3.938 kB / 0.9864 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.005689, allocations: 7.984 kB / 0.9864 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.005719, allocations: 11.98 kB / 0.9864 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.005722, allocations: 0 / 0.9864 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001134/0.005835, allocations: 95.33 kB / 0.9865 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.005835, allocations: 0 / 0.9865 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001284/0.005964, allocations: 12 kB / 0.9865 GB, free: 12.24 MB / 0.9011 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 7.543e-05/0.006039, allocations: 99.25 kB / 0.9866 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.006136, allocations: 39.92 kB / 0.9867 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006138, allocations: 0 / 0.9867 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.006163, allocations: 12 kB / 0.9867 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.006273, allocations: 14.19 kB / 0.9867 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.00652, allocations: 158.4 kB / 0.9868 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.006558, allocations: 63.34 kB / 0.9869 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.006584, allocations: 12.5 kB / 0.9869 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of SimCode: time 3.81e-07/0.006585, allocations: 0 / 0.9869 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of Templates: time 0.001592/0.008177, allocations: 0.8936 MB / 0.9878 GB, free: 10.91 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.810729494318366]