Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001564/0.001564, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001839/0.001839, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.785 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.385/3.385, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [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.002187/0.002187, allocations: 71.03 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4215, allocations: 176.1 MB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002125/0.4237, allocations: 0.6957 MB / 1.326 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.4248, allocations: 0.8358 MB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.4249, allocations: 0 / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.4249, allocations: 3.938 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.512e-05/0.425, allocations: 7.938 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.4251, allocations: 11.97 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4252, allocations: 43.86 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.4253, allocations: 15.97 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.4254, allocations: 23.94 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.4255, allocations: 19.91 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.4255, allocations: 4 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.4255, allocations: 4 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.4255, allocations: 4 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.4256, allocations: 19.86 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.4257, allocations: 47.73 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4257, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4257, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.4257, allocations: 4 kB / 1.327 GB, free: 56 kB / 1.014 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.0005761/0.4263, allocations: 290.2 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4263, allocations: 8.031 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.4263, allocations: 0.9375 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.4265, allocations: 114.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4265, allocations: 8.359 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4265, allocations: 4.312 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.4268, allocations: 66.22 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4268, allocations: 4.188 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4268, allocations: 11.92 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4268, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.4271, allocations: 63.92 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.4274, allocations: 200.6 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.4276, allocations: 58.47 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4278, allocations: 44.86 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.4278, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.4279, allocations: 34.56 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.4279, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005726/0.4284, allocations: 133.5 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.4285, allocations: 55.34 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4286, allocations: 109.8 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4286, allocations: 29.7 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.4287, allocations: 80.14 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.4287, allocations: 11.94 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.4287, allocations: 13.72 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4289, allocations: 318.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.429, allocations: 35.89 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4291, allocations: 31.97 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.4294, allocations: 68.78 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4294, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003156/0.4297, allocations: 109.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4297, allocations: 4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.4297, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4298, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4299, allocations: 15.97 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4299, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.43, allocations: 11.98 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.43, allocations: 0 / 1.329 GB, free: 13.98 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 (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 8.615e-05/0.4301, allocations: 121.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.4301, allocations: 11.89 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.4305, allocations: 97.61 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4305, allocations: 0 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4305, allocations: 4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4305, allocations: 3.938 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4306, allocations: 117.2 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4306, allocations: 8 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.4307, allocations: 19.91 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4307, allocations: 384 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.4308, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4308, allocations: 4 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4308, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.4311, allocations: 191.5 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.4311, allocations: 19.88 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.4312, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4313, allocations: 11.98 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.4313, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.4313, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.4314, allocations: 91.27 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4314, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002156/0.4316, allocations: 7.938 kB / 1.33 GB, free: 13.21 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 (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.0001364/0.4317, allocations: 103.2 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.4321, allocations: 67.92 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4321, allocations: 7.938 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.4322, allocations: 35.95 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.4325, allocations: 9.656 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.4329, allocations: 126.8 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.574e-05/0.4329, allocations: 63.34 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.433, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.433, allocations: 7.438 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.433, allocations: 0 / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of Templates: time 0.003355/0.4364, allocations: 0.7376 MB / 1.331 GB, free: 12.01 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.777417324483395]