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.00161/0.00161, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001865/0.001865, allocations: 216.8 kB / 22.99 MB, free: 4.914 MB / 14.72 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.197/3.197, allocations: 0.4892 GB / 0.7951 GB, free: 35.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1..y|con.2..y|con.3..y|con.4..y|con.5..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.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.72 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001996/0.3482, allocations: 0.6493 MB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.3484, allocations: 19.91 kB / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.3485, allocations: 0 / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.3486, allocations: 3.938 kB / 1.327 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.3486, allocations: 11.94 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.593e-05/0.3487, allocations: 7.984 kB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3488, allocations: 39.91 kB / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3489, allocations: 16 kB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.349, allocations: 15.92 kB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.349, allocations: 15.94 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.349, allocations: 0 / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.349, allocations: 4 kB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.3491, allocations: 15.91 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.3491, allocations: 11.94 kB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.3492, allocations: 51.75 kB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3492, allocations: 4 kB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3492, allocations: 0 / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3492, allocations: 0 / 1.327 GB, free: 0.9883 MB / 1.014 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.0004009/0.3496, allocations: 278.1 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3497, allocations: 8.031 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.3497, allocations: 12.89 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3499, allocations: 126.5 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3499, allocations: 4.375 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3499, allocations: 8.375 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3501, allocations: 74.22 kB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3501, allocations: 192 / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3501, allocations: 7.938 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3501, allocations: 4 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.3502, allocations: 47.97 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.3507, allocations: 411.2 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3508, allocations: 169.1 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.3509, allocations: 88.17 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.3509, allocations: 79.33 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.351, allocations: 117.8 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.351, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.035e-05/0.351, allocations: 25.7 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.3511, allocations: 130.7 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3513, allocations: 125.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3513, allocations: 25.7 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3514, allocations: 99.98 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.3514, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3514, allocations: 17.7 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3515, allocations: 318.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.3516, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.3516, allocations: 15.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.3516, allocations: 12.84 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3516, allocations: 12 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001213/0.3517, allocations: 45.69 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3517, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3518, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3518, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.3518, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3518, allocations: 320 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.3519, allocations: 7.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3519, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 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 0.0001301/0.352, allocations: 201.6 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.3521, allocations: 109 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/0.3521, allocations: 112.4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.592e-05/0.3522, allocations: 180.2 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.713e-05/0.3523, allocations: 184.3 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.482e-05/0.3524, allocations: 184.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3526, allocations: 364.8 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-05/0.3527, allocations: 105 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.3527, allocations: 104.9 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.457e-05/0.3528, allocations: 180.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-05/0.3529, allocations: 184.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.962e-05/0.353, allocations: 184.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.134e-05/0.3531, allocations: 180.3 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3532, allocations: 319.6 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.3533, allocations: 104.9 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.3534, allocations: 184.2 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.3535, allocations: 101.3 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.3536, allocations: 184.2 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.3536, allocations: 109 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.3537, allocations: 99.25 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002358/0.3539, allocations: 11.89 kB / 1.333 GB, free: 11.06 MB / 1.029 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.0001824/0.3541, allocations: 178.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.3542, allocations: 11.98 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3542, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.3542, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.3547, allocations: 461.9 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.3551, allocations: 234 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.3552, allocations: 75.33 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.3552, allocations: 11.5 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3552, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of Templates: time 0.002282/0.3575, allocations: 0.6404 MB / 1.334 GB, free: 9.398 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.180079357232898]