Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0008849/0.0008849, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001967, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007394/0.0007394, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009405/0.00168, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9505/0.9505, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08581/1.036, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.342/2.342, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.245/2.587, allocations: 145.9 MB / 0.817 GB, free: 4.176 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8184 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.478e-05, allocations: 8.281 kB / 0.8184 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001058/0.001073, allocations: 0.7107 MB / 0.8191 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 4.702e-05/0.00112, allocations: 7.938 kB / 0.8191 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.001153, allocations: 0 / 0.8191 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.001207, allocations: 11.88 kB / 0.8191 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.019e-05/0.001237, allocations: 0 / 0.8191 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.034e-05/0.001267, allocations: 0 / 0.8191 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.00134, allocations: 31.91 kB / 0.8191 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.001447, allocations: 15.98 kB / 0.8191 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.001501, allocations: 35.91 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/0.001537, allocations: 11.98 kB / 0.8192 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.001562, allocations: 4 kB / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.001572, allocations: 0 / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.0016, allocations: 11.94 kB / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.001626, allocations: 4 kB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.836e-05/0.001714, allocations: 31.84 kB / 0.8192 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.001728, allocations: 0 / 0.8192 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001729, allocations: 0 / 0.8192 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.001742, allocations: 0 / 0.8192 GB, free: 1.918 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002988/0.002041, allocations: 264.4 kB / 0.8195 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.002075, allocations: 12.62 kB / 0.8195 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.002103, allocations: 12.92 kB / 0.8195 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.002211, allocations: 113.7 kB / 0.8196 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.00222, allocations: 8.375 kB / 0.8196 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.002229, allocations: 4.375 kB / 0.8196 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.715e-05/0.002316, allocations: 53.06 kB / 0.8197 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.002323, allocations: 192 / 0.8197 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.00233, allocations: 4.375 kB / 0.8197 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.002334, allocations: 384 / 0.8197 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.962e-05/0.002364, allocations: 23.86 kB / 0.8197 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.002642, allocations: 352.3 kB / 0.82 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.113e-05/0.002703, allocations: 181 kB / 0.8202 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.002726, allocations: 80.14 kB / 0.8203 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.002745, allocations: 79.38 kB / 0.8204 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.002779, allocations: 109.8 kB / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.00278, allocations: 0 / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 4.745e-05/0.002827, allocations: 29.7 kB / 0.8205 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.002877, allocations: 130.6 kB / 0.8206 GB, free: 380 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.002949, allocations: 114.7 kB / 0.8207 GB, free: 252 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.002956, allocations: 25.7 kB / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.003001, allocations: 104 kB / 0.8209 GB, free: 112 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.003007, allocations: 4 kB / 0.8209 GB, free: 108 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.003028, allocations: 17.7 kB / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.00311, allocations: 310.8 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.003115, allocations: 0 / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.003121, allocations: 4 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.003145, allocations: 8.844 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.003148, allocations: 3.938 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.405e-05/0.003202, allocations: 33.64 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.003214, allocations: 10.5 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.003219, allocations: 96 / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.003227, allocations: 4 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.003274, allocations: 4 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.003279, allocations: 3.984 kB / 0.8212 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.003292, allocations: 4 kB / 0.8212 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.003299, allocations: 0 / 0.8212 GB, free: 15.69 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.954e-05/0.003369, allocations: 187.9 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.003404, allocations: 109 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.003442, allocations: 108.4 kB / 0.8216 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.943e-05/0.003481, allocations: 184.2 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.695e-05/0.003518, allocations: 176.3 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/0.003556, allocations: 184.2 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.003677, allocations: 325.5 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.003701, allocations: 112.9 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.003726, allocations: 109 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.003754, allocations: 108.9 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-05/0.003794, allocations: 188.2 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.003835, allocations: 180.3 kB / 0.8231 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.06e-05/0.003876, allocations: 180.2 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001886/0.004064, allocations: 188.2 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.611e-05/0.00415, allocations: 311.7 kB / 0.8238 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.004192, allocations: 184.3 kB / 0.8239 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.004239, allocations: 104.9 kB / 0.824 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.004285, allocations: 176.3 kB / 0.8242 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.00431, allocations: 112.9 kB / 0.8243 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.74e-05/0.004328, allocations: 17.16 kB / 0.8243 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004328, allocations: 0 / 0.8243 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001117/0.00444, allocations: 4 kB / 0.8243 GB, free: 12.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 7.637e-05/0.004516, allocations: 147.7 kB / 0.8245 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.637e-05/0.004562, allocations: 12.84 kB / 0.8245 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.004566, allocations: 4.062 kB / 0.8245 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.004566, allocations: 0 / 0.8245 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.004787, allocations: 463.7 kB / 0.8249 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.004978, allocations: 215.6 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.005007, allocations: 59.34 kB / 0.8252 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.005024, allocations: 3.984 kB / 0.8252 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.005056, allocations: 51.38 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.005056, allocations: 0 / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.001623/0.006679, allocations: 340.6 kB / 0.8256 GB, free: 11 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.957723727449775]