Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001821/0.001821, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.002298/0.002298, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.468/1.468, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.732/2.732, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.763e-05, allocations: 2.281 kB / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002389/0.002427, allocations: 0.6934 MB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.003773, allocations: 0.8353 MB / 0.9525 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.003827, allocations: 0 / 0.9525 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.003866, allocations: 7.922 kB / 0.9525 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.003936, allocations: 8 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.004064, allocations: 11.98 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.004184, allocations: 51.84 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.004308, allocations: 7.984 kB / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.004413, allocations: 23.86 kB / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.004463, allocations: 15.98 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.0045, allocations: 4 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.004516, allocations: 4 kB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.004541, allocations: 11.92 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.00457, allocations: 8 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.004691, allocations: 47.84 kB / 0.9527 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004694, allocations: 4 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.82e-07/0.004694, allocations: 0 / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.004703, allocations: 0 / 0.9527 GB, free: 9.738 MB / 0.8575 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.0006483/0.005351, allocations: 292 kB / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.005404, allocations: 12.03 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.005441, allocations: 0.9375 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.005607, allocations: 117.7 kB / 0.9531 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.005622, allocations: 384 / 0.9531 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.005642, allocations: 4.375 kB / 0.9531 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.005972, allocations: 74.16 kB / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.005986, allocations: 192 / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005998, allocations: 384 / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.006003, allocations: 384 / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.00632, allocations: 67.86 kB / 0.9533 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.006752, allocations: 204.6 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.006998, allocations: 58.53 kB / 0.9535 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.007169, allocations: 40.86 kB / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.007197, allocations: 0 / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.007241, allocations: 34.55 kB / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.007242, allocations: 0 / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005993/0.007841, allocations: 133.5 kB / 0.9537 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.007885, allocations: 59.34 kB / 0.9538 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.008006, allocations: 109.8 kB / 0.9539 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.008027, allocations: 25.7 kB / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.00809, allocations: 92.12 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.008116, allocations: 15.83 kB / 0.954 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.00816, allocations: 13.72 kB / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.008321, allocations: 318.8 kB / 0.9543 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.00848, allocations: 39.95 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.008626, allocations: 27.97 kB / 0.9544 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.008943, allocations: 68.78 kB / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008945, allocations: 0 / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003322/0.009277, allocations: 97.62 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.009296, allocations: 10.75 kB / 0.9546 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.009301, allocations: 3.938 kB / 0.9546 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.009319, allocations: 0 / 0.9546 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.009461, allocations: 23.97 kB / 0.9546 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.009467, allocations: 3.938 kB / 0.9546 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.009551, allocations: 15.98 kB / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.009559, allocations: 0 / 0.9546 GB, free: 7.641 MB / 0.8575 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.0001021/0.009661, allocations: 113.8 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.009689, allocations: 3.953 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.01008, allocations: 109.9 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01008, allocations: 48 / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.01009, allocations: 7.984 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01009, allocations: 0 / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.01024, allocations: 113.3 kB / 0.9549 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01024, allocations: 3.984 kB / 0.9549 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.01034, allocations: 15.98 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.01034, allocations: 0 / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01035, allocations: 0 / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01036, allocations: 3.938 kB / 0.955 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.01036, allocations: 3.938 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.01075, allocations: 199.5 kB / 0.9552 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-06/0.01076, allocations: 3.953 kB / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.01078, allocations: 0 / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01089, allocations: 15.92 kB / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.01094, allocations: 7.984 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.01094, allocations: 0 / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.01099, allocations: 87.58 kB / 0.9553 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01099, allocations: 0 / 0.9553 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000215/0.01121, allocations: 12 kB / 0.9553 GB, free: 6.887 MB / 0.8575 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.0001293/0.01133, allocations: 95.23 kB / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.01168, allocations: 79.8 kB / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01169, allocations: 0 / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.01184, allocations: 35.97 kB / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.01214, allocations: 4 kB / 0.9555 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.01246, allocations: 128.8 kB / 0.9556 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.581e-05/0.01254, allocations: 67.28 kB / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.01256, allocations: 0 / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.0126, allocations: 12.5 kB / 0.9557 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.0126, allocations: 4 kB / 0.9557 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of Templates: time 0.00343/0.01603, allocations: 0.7283 MB / 0.9564 GB, free: 5.691 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.196716856211424]