Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.002401/0.002401, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002755/0.002755, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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 1.714/1.714, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.021/3.021, allocations: 377.9 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.596e-06/3.596e-06, allocations: 0 / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/4.056e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002202/0.002243, allocations: 0.7084 MB / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003506, allocations: 0.8326 MB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.003549, allocations: 0 / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.003579, allocations: 8.531 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.094e-05/0.00367, allocations: 8.812 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.003788, allocations: 11.98 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.003892, allocations: 44.64 kB / 0.8125 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.004003, allocations: 7.984 kB / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.004114, allocations: 25.61 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.004176, allocations: 15.97 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.004202, allocations: 4 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.004216, allocations: 4 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.004243, allocations: 11.92 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.004271, allocations: 9.531 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.004387, allocations: 43.86 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00439, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004391, allocations: 3.938 kB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.004396, allocations: 5.031 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006049/0.005001, allocations: 372.2 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.005044, allocations: 12.53 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.005095, allocations: 14.42 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.005232, allocations: 108.6 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.005252, allocations: 12.36 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.005263, allocations: 384 / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005463, allocations: 56.73 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.005472, allocations: 192 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.005482, allocations: 384 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.005486, allocations: 4.375 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.005667, allocations: 47.89 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.006123, allocations: 276.2 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.006286, allocations: 47.77 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.006391, allocations: 28.3 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.006417, allocations: 5.625 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.006454, allocations: 33.39 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.006455, allocations: 0 / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004244/0.00688, allocations: 106.1 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.00693, allocations: 52.09 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.007097, allocations: 173.9 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.007119, allocations: 26.39 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.007217, allocations: 135.7 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.007241, allocations: 11.94 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.007289, allocations: 23.38 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002896/0.007579, allocations: 497.5 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.00767, allocations: 15.98 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.00775, allocations: 21.73 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.007921, allocations: 51.66 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007924, allocations: 0 / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000235/0.008159, allocations: 82.36 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.008179, allocations: 12.88 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008184, allocations: 0 / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.0082, allocations: 0 / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.008306, allocations: 17.2 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008311, allocations: 3.938 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.00836, allocations: 4.844 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.008369, allocations: 320 / 0.8147 GB, free: 13.91 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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.0001375/0.008506, allocations: 162.8 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.008532, allocations: 3.984 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.008821, allocations: 93.86 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008823, allocations: 0 / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.008827, allocations: 0 / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.008833, allocations: 7.094 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.009015, allocations: 120.6 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.009016, allocations: 0 / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.009084, allocations: 11.98 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.009086, allocations: 0 / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.009097, allocations: 4 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.009102, allocations: 3.938 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009102, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.009441, allocations: 233.1 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.009449, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.009467, allocations: 4.625 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.009544, allocations: 8.5 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.009597, allocations: 3.984 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.009601, allocations: 0.7812 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.009694, allocations: 139.2 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009694, allocations: 1.156 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002167/0.009911, allocations: 12 kB / 0.8155 GB, free: 13.05 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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.0001559/0.01007, allocations: 95.84 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.01032, allocations: 52.38 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01032, allocations: 1.188 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01043, allocations: 39.59 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01072, allocations: 9.031 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.01119, allocations: 139.3 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.01131, allocations: 71.14 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.01135, allocations: 5.125 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.01141, allocations: 12.44 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.01141, allocations: 0.9688 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.004633/0.01604, allocations: 0.7335 MB / 0.8166 GB, free: 11.86 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 8.333552876953036]