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.00145/0.00145, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001672/0.001672, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.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.954/1.954, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.565e-06/2.565e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.095e-05, allocations: 9.062 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002296/0.002327, allocations: 0.6772 MB / 0.7607 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000205/0.002532, allocations: 17.67 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.002574, allocations: 0.6562 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.002694, allocations: 3.938 kB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.002733, allocations: 1.422 kB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.002844, allocations: 8.578 kB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.002961, allocations: 40.56 kB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003062, allocations: 20.98 kB / 0.7608 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.003111, allocations: 16.86 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.00315, allocations: 14.38 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.003173, allocations: 4 kB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.003185, allocations: 5.125 kB / 0.7609 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.003217, allocations: 6.516 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.003247, allocations: 17.95 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.756e-05/0.003344, allocations: 32.34 kB / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003347, allocations: 0 / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003348, allocations: 1.25 kB / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003352, allocations: 3.938 kB / 0.7609 GB, free: 5.703 MB / 0.7136 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.0003006/0.003653, allocations: 245.6 kB / 0.7612 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.00369, allocations: 9.062 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.003727, allocations: 9.922 kB / 0.7612 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.003862, allocations: 125.7 kB / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.003873, allocations: 0.9375 kB / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.003887, allocations: 6.156 kB / 0.7613 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.003998, allocations: 53.84 kB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004006, allocations: 1.062 kB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.004019, allocations: 384 / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.004027, allocations: 4.375 kB / 0.7614 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.004061, allocations: 21.08 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.004425, allocations: 345 kB / 0.7617 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.004509, allocations: 177 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.004537, allocations: 81.98 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.004564, allocations: 79.28 kB / 0.762 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.004612, allocations: 110.4 kB / 0.7621 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.004613, allocations: 0 / 0.7621 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.359e-05/0.004677, allocations: 30.39 kB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.004747, allocations: 134.7 kB / 0.7623 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.004842, allocations: 111.8 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.004854, allocations: 29.7 kB / 0.7624 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.004911, allocations: 97.12 kB / 0.7625 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.004913, allocations: 0.5469 kB / 0.7625 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.004954, allocations: 13.7 kB / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.005064, allocations: 315.5 kB / 0.7628 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.005074, allocations: 0 / 0.7628 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.005081, allocations: 1.094 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.005117, allocations: 16.8 kB / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.005121, allocations: 4.812 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.917e-05/0.0052, allocations: 37.62 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.005215, allocations: 5.031 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.00522, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.005234, allocations: 0.9375 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.005288, allocations: 4 kB / 0.7629 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.005292, allocations: 0 / 0.7629 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.005316, allocations: 5.094 kB / 0.7629 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.005324, allocations: 0 / 0.7629 GB, free: 3.523 MB / 0.7136 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 9.366e-05/0.005418, allocations: 198.6 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.005475, allocations: 105 kB / 0.7632 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.005524, allocations: 112.4 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.067e-05/0.005575, allocations: 176.3 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.488e-05/0.00563, allocations: 184.2 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.013e-05/0.00569, allocations: 192.3 kB / 0.7638 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.005889, allocations: 321.5 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000306/0.006195, allocations: 108.9 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.006229, allocations: 107.5 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.689e-05/0.006285, allocations: 188.1 kB / 0.7645 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.006339, allocations: 180.2 kB / 0.7647 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-05/0.006388, allocations: 176.3 kB / 0.7649 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/0.006441, allocations: 184.2 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.006562, allocations: 307.8 kB / 0.7653 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.006602, allocations: 113.4 kB / 0.7655 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.006663, allocations: 184.2 kB / 0.7656 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.006746, allocations: 102.1 kB / 0.7657 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.006805, allocations: 180.3 kB / 0.7659 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.006837, allocations: 104.9 kB / 0.766 GB, free: 204 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.006872, allocations: 23.22 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006872, allocations: 0 / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002174/0.007089, allocations: 4 kB / 0.766 GB, free: 176 kB / 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.0001385/0.007228, allocations: 151.7 kB / 0.7662 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.786e-05/0.007286, allocations: 11.3 kB / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.007291, allocations: 0 / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.007292, allocations: 0 / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.007625, allocations: 467.5 kB / 0.7666 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.007922, allocations: 215.7 kB / 0.7668 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.007966, allocations: 59.34 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.007989, allocations: 1.875 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.008034, allocations: 51.38 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.008035, allocations: 0 / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.002313/0.01035, allocations: 342.7 kB / 0.7673 GB, free: 14.86 MB / 0.7292 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.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: 5.186949279624969]