Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.000838/0.000838, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.0007796/0.0007796, allocations: 177.9 kB / 23.22 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.8609/0.8609, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.73/1.73, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.937e-05, allocations: 5.094 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002232/0.002252, allocations: 1.662 MB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003467, allocations: 1.367 MB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.003529, allocations: 4 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.003733, allocations: 23.78 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.00404, allocations: 111.3 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.004259, allocations: 148.5 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.004485, allocations: 249.6 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.004577, allocations: 19.98 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.004682, allocations: 119.8 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.004813, allocations: 83.81 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.004839, allocations: 20 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.00498, allocations: 119.8 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.005056, allocations: 83.75 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.00512, allocations: 71.75 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.005448, allocations: 358.8 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.00545, allocations: 0 / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005451, allocations: 0 / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.005455, allocations: 0 / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005857/0.006041, allocations: 494 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006078, allocations: 9.344 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.006137, allocations: 28.75 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.006346, allocations: 216.8 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.006363, allocations: 16.7 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.006383, allocations: 16.38 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.006652, allocations: 309.4 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.006661, allocations: 192 / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.006678, allocations: 8.125 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.006684, allocations: 4 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.007189, allocations: 0.6907 MB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.00777, allocations: 0.4925 MB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.008101, allocations: 284.2 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.008199, allocations: 93.38 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.008234, allocations: 20.27 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.008447, allocations: 180.8 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.008448, allocations: 0 / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35): time 0.0004601/0.008908, allocations: 377.5 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.008964, allocations: 144.5 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.009171, allocations: 309.7 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.009193, allocations: 37.69 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.009249, allocations: 120.8 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/0.009321, allocations: 123 kB / 1.009 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.009381, allocations: 65.69 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003179/0.009699, allocations: 338.8 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.009797, allocations: 83.95 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.009943, allocations: 212.4 kB / 1.01 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.01017, allocations: 218.7 kB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01017, allocations: 0 / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002941/0.01047, allocations: 293.5 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01048, allocations: 8 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01048, allocations: 0 / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01049, allocations: 0 / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01063, allocations: 63.91 kB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01063, allocations: 4 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.01071, allocations: 27.83 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.01073, allocations: 15.98 kB / 1.01 GB, free: 3.074 MB / 0.9636 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 (37): * Single equations (assignments): 37 * 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.0001008/0.01083, allocations: 165.7 kB / 1.01 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.01086, allocations: 27.91 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.01127, allocations: 388.8 kB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01127, allocations: 8 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01128, allocations: 0 / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01128, allocations: 7.922 kB / 1.011 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01145, allocations: 245 kB / 1.011 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01145, allocations: 0 / 1.011 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.01154, allocations: 55.91 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01154, allocations: 4 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01156, allocations: 8 kB / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01156, allocations: 0 / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01156, allocations: 0 / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.01185, allocations: 339.1 kB / 1.011 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.01192, allocations: 75.73 kB / 1.012 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01195, allocations: 4 kB / 1.012 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.01201, allocations: 15.98 kB / 1.012 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.01205, allocations: 23.95 kB / 1.012 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.01206, allocations: 15.98 kB / 1.012 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001322/0.0122, allocations: 241.1 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0122, allocations: 0 / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001966/0.01239, allocations: 83.81 kB / 1.012 GB, free: 1.344 MB / 0.9636 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 (35): * Single equations (assignments): 33 * 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.0006943/0.01309, allocations: 496.4 kB / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.01336, allocations: 227.4 kB / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01336, allocations: 0 / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.01348, allocations: 123.8 kB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.01366, allocations: 36.42 kB / 1.013 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.0142, allocations: 0.5438 MB / 1.013 GB, free: 88 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.0143, allocations: 150.7 kB / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.01437, allocations: 52.47 kB / 1.013 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of SimCode: time 4.81e-07/0.01438, allocations: 4 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of Templates: time 0.004488/0.01886, allocations: 4.739 MB / 1.018 GB, free: 11.13 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.739614894613624]