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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 249.9 MB, free: 13.46 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,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=501,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 69.45 kB / 1.127 GB, free: 36.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2828, allocations: 172.1 MB / 1.295 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002911/0.2857, allocations: 1.64 MB / 1.296 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2874, allocations: 1.229 MB / 1.298 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.2874, allocations: 0 / 1.298 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2876, allocations: 15.86 kB / 1.298 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.2879, allocations: 63.69 kB / 1.298 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.2882, allocations: 144.7 kB / 1.298 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.2885, allocations: 233.6 kB / 1.298 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.2886, allocations: 16.2 kB / 1.298 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.2887, allocations: 79.77 kB / 1.298 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2889, allocations: 95.77 kB / 1.298 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.289, allocations: 16 kB / 1.298 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2891, allocations: 75.97 kB / 1.298 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2892, allocations: 83.75 kB / 1.298 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.2893, allocations: 99.39 kB / 1.299 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.2897, allocations: 286.8 kB / 1.299 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2897, allocations: 4 kB / 1.299 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2897, allocations: 0 / 1.299 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2897, allocations: 3.938 kB / 1.299 GB, free: 7.727 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007669/0.2904, allocations: 0.5341 MB / 1.299 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2905, allocations: 16.02 kB / 1.299 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.2906, allocations: 36.67 kB / 1.299 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2909, allocations: 263.8 kB / 1.3 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2909, allocations: 16.38 kB / 1.3 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.2909, allocations: 12.38 kB / 1.3 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.2913, allocations: 218.7 kB / 1.3 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2913, allocations: 0 / 1.3 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.2913, allocations: 15.94 kB / 1.3 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2913, allocations: 4 kB / 1.3 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.2922, allocations: 0.734 MB / 1.301 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.293, allocations: 0.567 MB / 1.301 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.2935, allocations: 280.1 kB / 1.301 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2937, allocations: 93.94 kB / 1.302 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.2937, allocations: 20.25 kB / 1.302 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.294, allocations: 176.9 kB / 1.302 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 4.769e-06/0.294, allocations: 4 kB / 1.302 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0006574/0.2947, allocations: 373.2 kB / 1.302 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.2948, allocations: 132.5 kB / 1.302 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.2951, allocations: 300 kB / 1.303 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2951, allocations: 33.7 kB / 1.303 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.2952, allocations: 120.8 kB / 1.303 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.987e-05/0.2953, allocations: 119 kB / 1.303 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.2954, allocations: 65.67 kB / 1.303 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2955, allocations: 350.8 kB / 1.303 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2957, allocations: 79.95 kB / 1.303 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.2959, allocations: 123.8 kB / 1.303 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.2962, allocations: 219 kB / 1.304 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2962, allocations: 0 / 1.304 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004358/0.2966, allocations: 281.2 kB / 1.304 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2967, allocations: 4 kB / 1.304 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2967, allocations: 0 / 1.304 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2967, allocations: 4 kB / 1.304 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2969, allocations: 63.91 kB / 1.304 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2969, allocations: 4 kB / 1.304 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2971, allocations: 31.75 kB / 1.304 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.2971, allocations: 11.98 kB / 1.304 GB, free: 2.219 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (35): * Single equations (assignments): 35 * 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.0001679/0.2972, allocations: 165.7 kB / 1.304 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.2973, allocations: 27.81 kB / 1.304 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/0.298, allocations: 381.6 kB / 1.304 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.298, allocations: 4 kB / 1.304 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.298, allocations: 0 / 1.304 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.298, allocations: 11.92 kB / 1.305 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.2983, allocations: 325.3 kB / 1.305 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2983, allocations: 4 kB / 1.305 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2985, allocations: 55.91 kB / 1.305 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2985, allocations: 0 / 1.305 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.2985, allocations: 11.98 kB / 1.305 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2985, allocations: 8 kB / 1.305 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2985, allocations: 0 / 1.305 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.299, allocations: 325.8 kB / 1.305 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2991, allocations: 148.8 kB / 1.305 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.2992, allocations: 4 kB / 1.305 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2993, allocations: 16.03 kB / 1.305 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.2994, allocations: 27.95 kB / 1.305 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.2994, allocations: 15.92 kB / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002104/0.2996, allocations: 233.6 kB / 1.306 GB, free: 404 kB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.2996, allocations: 0 / 1.306 GB, free: 404 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000276/0.2999, allocations: 55.98 kB / 1.306 GB, free: 348 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001363/0.3012, allocations: 412 kB / 1.306 GB, free: 76 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.3017, allocations: 219.6 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3017, allocations: 0 / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.3019, allocations: 124.4 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.3021, allocations: 31.16 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.303, allocations: 0.534 MB / 1.307 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3033, allocations: 0.7535 MB / 1.308 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3034, allocations: 55.41 kB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.3034, allocations: 0 / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of Templates: time 0.006575/0.31, allocations: 4.218 MB / 1.312 GB, free: 10.09 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] 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/jenkins1/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