Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001216/0.001216, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002062/0.003278, allocations: 449.8 kB / 10.44 MB, free: 252 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.001205/0.001205, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001842/0.003048, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.028/1.028, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09212/1.12, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.92/1.92, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5853/2.505, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.525e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001913/0.001938, allocations: 0.7128 MB / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.2e-05/0.00202, allocations: 15.92 kB / 0.7304 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.002054, allocations: 0 / 0.7304 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.789e-05/0.002122, allocations: 5.328 kB / 0.7304 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.002155, allocations: 0.75 kB / 0.7304 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.002e-05/0.002225, allocations: 8 kB / 0.7304 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.00233, allocations: 45.8 kB / 0.7305 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.002419, allocations: 23.97 kB / 0.7305 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.002469, allocations: 20.77 kB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.002506, allocations: 13.41 kB / 0.7305 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.002528, allocations: 4 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.002538, allocations: 4 kB / 0.7306 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.002569, allocations: 6.734 kB / 0.7306 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.002592, allocations: 10.3 kB / 0.7306 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.657e-05/0.002678, allocations: 41.66 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.00269, allocations: 0 / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.002692, allocations: 0.875 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.002711, allocations: 0 / 0.7306 GB, free: 3.5 MB / 0.698 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.0003019/0.003013, allocations: 257.7 kB / 0.7309 GB, free: 3.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.003047, allocations: 8.531 kB / 0.7309 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.003079, allocations: 8.938 kB / 0.7309 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.003201, allocations: 123.4 kB / 0.731 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.003209, allocations: 384 / 0.731 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.003223, allocations: 9.812 kB / 0.731 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.558e-05/0.003318, allocations: 49.84 kB / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.003326, allocations: 192 / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.003332, allocations: 1.141 kB / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.003339, allocations: 5.031 kB / 0.7311 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.00336, allocations: 23.86 kB / 0.7311 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.003633, allocations: 350 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.003702, allocations: 169.1 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.003722, allocations: 85.45 kB / 0.7316 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.003742, allocations: 79.28 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.003777, allocations: 109.8 kB / 0.7318 GB, free: 2.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.003778, allocations: 0.9844 kB / 0.7318 GB, free: 2.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.348e-05/0.003831, allocations: 34.52 kB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.00387, allocations: 126.7 kB / 0.732 GB, free: 1.984 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.00394, allocations: 119.4 kB / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.003949, allocations: 25.7 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.003987, allocations: 97.03 kB / 0.7322 GB, free: 1.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.003989, allocations: 0 / 0.7322 GB, free: 1.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.00401, allocations: 9.719 kB / 0.7322 GB, free: 1.711 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.00408, allocations: 328.8 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-06/0.004085, allocations: 0 / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.004091, allocations: 0.625 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.004118, allocations: 9.547 kB / 0.7325 GB, free: 1.371 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.00412, allocations: 3.938 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.37e-05/0.004174, allocations: 39.38 kB / 0.7326 GB, free: 1.324 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.004186, allocations: 8 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00419, allocations: 0 / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.004201, allocations: 0 / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.004246, allocations: 0.6562 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.004249, allocations: 5.594 kB / 0.7326 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.004262, allocations: 3.938 kB / 0.7326 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.004271, allocations: 4 kB / 0.7326 GB, free: 1.305 MB / 0.698 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.221e-05/0.004333, allocations: 188.4 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.00437, allocations: 110.1 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.479e-05/0.004404, allocations: 108.4 kB / 0.733 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/0.004442, allocations: 176.4 kB / 0.7332 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/0.004481, allocations: 192.9 kB / 0.7334 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-05/0.00452, allocations: 180.2 kB / 0.7335 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.00468, allocations: 325.9 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/0.004703, allocations: 105.9 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.004725, allocations: 105 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.004754, allocations: 112.8 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.539e-05/0.00479, allocations: 177.5 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.004828, allocations: 184.3 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.879e-05/0.004866, allocations: 188.2 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-05/0.004903, allocations: 178 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.109e-05/0.004994, allocations: 307.7 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.005041, allocations: 184.2 kB / 0.7353 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.005089, allocations: 105.3 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.005129, allocations: 181.5 kB / 0.7356 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.005157, allocations: 121 kB / 0.7357 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.941e-05/0.005176, allocations: 16.83 kB / 0.7357 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005176, allocations: 0 / 0.7357 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001118/0.005288, allocations: 8.938 kB / 0.7357 GB, free: 13.95 MB / 0.7136 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 0.0001054/0.005393, allocations: 148.5 kB / 0.7359 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.821e-05/0.005441, allocations: 9.797 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.005445, allocations: 0 / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.005447, allocations: 0 / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.005691, allocations: 493.9 kB / 0.7363 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.005889, allocations: 215 kB / 0.7365 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.005918, allocations: 60.5 kB / 0.7366 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.005935, allocations: 4 kB / 0.7366 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.005972, allocations: 51.36 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.005972, allocations: 1.031 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.001646/0.007618, allocations: 349.1 kB / 0.737 GB, free: 12.6 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.087304865010083]