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.000946/0.000946, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009229/0.0009229, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9164/0.9164, allocations: 177.1 MB / 203.7 MB, free: 5.488 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 2.436/2.436, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.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 3.476e-06/3.476e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.967e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001315/0.001345, allocations: 0.6785 MB / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.001501, allocations: 16 kB / 0.8905 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.001547, allocations: 3.938 kB / 0.8905 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.001657, allocations: 7.984 kB / 0.8905 GB, free: 9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.001706, allocations: 4 kB / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.701e-05/0.001773, allocations: 0 / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.001856, allocations: 27.92 kB / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.002019, allocations: 23.91 kB / 0.8906 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.29e-05/0.002062, allocations: 19.92 kB / 0.8906 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.002093, allocations: 11.98 kB / 0.8906 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.002112, allocations: 4 kB / 0.8906 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.002122, allocations: 4 kB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.002153, allocations: 15.92 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.002177, allocations: 12 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.055e-05/0.002257, allocations: 35.83 kB / 0.8907 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.002262, allocations: 4 kB / 0.8907 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.763e-06/0.002264, allocations: 0 / 0.8907 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.002269, allocations: 0 / 0.8907 GB, free: 8.84 MB / 0.8542 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.0002721/0.002541, allocations: 380.5 kB / 0.891 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.002582, allocations: 16.61 kB / 0.891 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.00261, allocations: 8.891 kB / 0.891 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.002718, allocations: 120.5 kB / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.002727, allocations: 4.375 kB / 0.8912 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.002736, allocations: 8.375 kB / 0.8912 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.002813, allocations: 46.23 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.00282, allocations: 8.188 kB / 0.8912 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.002826, allocations: 384 / 0.8912 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.002832, allocations: 384 / 0.8912 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.002851, allocations: 15.88 kB / 0.8912 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.003185, allocations: 0.5103 MB / 0.8917 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.826e-05/0.003264, allocations: 261.4 kB / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.003295, allocations: 126.9 kB / 0.8921 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.003323, allocations: 123.1 kB / 0.8922 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.00337, allocations: 156.6 kB / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.003371, allocations: 112 / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.972e-05/0.003421, allocations: 33.62 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.003474, allocations: 178.6 kB / 0.8926 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.003561, allocations: 177.9 kB / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.003569, allocations: 25.7 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.003629, allocations: 150.7 kB / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.003631, allocations: 0 / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.003657, allocations: 19.38 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.003765, allocations: 496.1 kB / 0.8934 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.003772, allocations: 0 / 0.8934 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.003779, allocations: 7.938 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.003805, allocations: 11.62 kB / 0.8934 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003807, allocations: 4.062 kB / 0.8934 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001135/0.00392, allocations: 37.69 kB / 0.8935 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.003931, allocations: 4 kB / 0.8935 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.003935, allocations: 0 / 0.8935 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.003946, allocations: 4 kB / 0.8935 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.003984, allocations: 0 / 0.8935 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.003986, allocations: 0 / 0.8935 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.004003, allocations: 15.95 kB / 0.8935 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.00401, allocations: 0 / 0.8935 GB, free: 5.734 MB / 0.8542 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 8.727e-05/0.004097, allocations: 291.7 kB / 0.8938 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.004139, allocations: 144.9 kB / 0.8939 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.004192, allocations: 152.4 kB / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/0.004253, allocations: 268 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.903e-05/0.004312, allocations: 268.1 kB / 0.8946 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-05/0.004371, allocations: 272 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.004533, allocations: 488.5 kB / 0.8953 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/0.00457, allocations: 152.9 kB / 0.8954 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.004608, allocations: 156.8 kB / 0.8956 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.883e-05/0.004667, allocations: 264.1 kB / 0.8958 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.004727, allocations: 268 kB / 0.8961 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/0.004832, allocations: 276.1 kB / 0.8963 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-05/0.004897, allocations: 268.1 kB / 0.8966 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.005039, allocations: 444 kB / 0.897 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.005086, allocations: 160.7 kB / 0.8972 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.005153, allocations: 268 kB / 0.8974 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.005214, allocations: 152.9 kB / 0.8976 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.00528, allocations: 272.3 kB / 0.8978 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.005314, allocations: 144.9 kB / 0.898 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.005364, allocations: 135.2 kB / 0.8981 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.005364, allocations: 0 / 0.8981 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001363/0.0055, allocations: 11.94 kB / 0.8981 GB, free: 0.7891 MB / 0.8542 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.0001143/0.005615, allocations: 214.4 kB / 0.8983 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.771e-05/0.005672, allocations: 15.66 kB / 0.8983 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005674, allocations: 0 / 0.8983 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.005676, allocations: 4 kB / 0.8983 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.006019, allocations: 0.7062 MB / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.006248, allocations: 257.3 kB / 0.8993 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.006289, allocations: 59.34 kB / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.006307, allocations: 0 / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.006347, allocations: 74.27 kB / 0.8994 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of SimCode: time 8.41e-07/0.006348, allocations: 0 / 0.8994 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.001717/0.008065, allocations: 343 kB / 0.8997 GB, free: 15.07 MB / 0.8698 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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.298088482115418]