Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001673/0.001673, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.002034/0.002034, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.68/1.68, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.43/3.43, allocations: 0.4899 GB / 0.7915 GB, free: 33.09 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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [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.002055/0.002055, allocations: 69.08 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4171, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002475/0.4196, allocations: 0.7857 MB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.4213, allocations: 0.8938 MB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.4214, allocations: 0 / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.4214, allocations: 3.938 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.4215, allocations: 23.86 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.4218, allocations: 39.88 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.4219, allocations: 75.89 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.4221, allocations: 31.91 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.4222, allocations: 31.92 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4223, allocations: 51.81 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.4223, allocations: 8 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.4223, allocations: 11.94 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.4223, allocations: 19.91 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.4224, allocations: 39.8 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.4226, allocations: 91.64 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4226, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4226, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4226, allocations: 0 / 1.323 GB, free: 0.7148 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007855/0.4234, allocations: 395.1 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4234, allocations: 19.97 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4235, allocations: 8.891 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.4237, allocations: 172.3 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.4237, allocations: 12.31 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.4237, allocations: 12.31 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.4241, allocations: 101.5 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4241, allocations: 0 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4241, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4241, allocations: 0 / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.4245, allocations: 103.9 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.4251, allocations: 340.6 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.4258, allocations: 126.6 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.426, allocations: 56.8 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.4261, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4261, allocations: 38.5 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.4261, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007842/0.4269, allocations: 181.5 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.4269, allocations: 55.39 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4271, allocations: 121.8 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.4271, allocations: 29.7 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.4272, allocations: 92.08 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.4272, allocations: 23.8 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.4273, allocations: 29.7 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4274, allocations: 314.8 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.4276, allocations: 47.94 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.4278, allocations: 47.94 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.4282, allocations: 109.2 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4282, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004575/0.4287, allocations: 129.6 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.4287, allocations: 8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4287, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4287, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4289, allocations: 27.97 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4289, allocations: 3.938 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4291, allocations: 19.88 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4291, allocations: 3.984 kB / 1.326 GB, free: 13.91 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000105/0.4292, allocations: 117.8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.4292, allocations: 4 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.4298, allocations: 157.9 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4298, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4298, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4298, allocations: 7.922 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.43, allocations: 197.6 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.43, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.4302, allocations: 23.97 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4302, allocations: 11.88 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4302, allocations: 3.984 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4302, allocations: 0 / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4302, allocations: 0 / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.4308, allocations: 235.3 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.4309, allocations: 89.05 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.4309, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.431, allocations: 11.98 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.4311, allocations: 27.91 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.4311, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.962e-05/0.4312, allocations: 95.7 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4312, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002513/0.4315, allocations: 19.95 kB / 1.327 GB, free: 12.82 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001634/0.4316, allocations: 103.2 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.4321, allocations: 107.9 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4321, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.4323, allocations: 59.89 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.4327, allocations: 16.31 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.4332, allocations: 170.2 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4335, allocations: 0.6942 MB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.554e-05/0.4336, allocations: 11.98 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.4337, allocations: 27.36 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4337, allocations: 0 / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Templates: time 0.004771/0.4385, allocations: 1.589 MB / 1.329 GB, free: 9.996 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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: 9.658432664349675]