Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001852/0.001852, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002084/0.002084, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.999/2.999, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [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.002082/0.002082, allocations: 65.34 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4271, allocations: 170 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002141/0.4292, allocations: 0.6677 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4304, allocations: 0.8394 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.4305, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.4305, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.4306, allocations: 7.922 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.4308, allocations: 12 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.4308, allocations: 27.91 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.431, allocations: 8 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.431, allocations: 11.92 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.4311, allocations: 8 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.4311, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.963e-05/0.4312, allocations: 7.984 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.4312, allocations: 7.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.4312, allocations: 7.938 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.4313, allocations: 39.83 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4313, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.554e-06/0.4313, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4313, allocations: 3.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005185/0.4319, allocations: 258.3 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4319, allocations: 12.03 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.432, allocations: 4.922 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4321, allocations: 106.5 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4322, allocations: 4.375 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.4322, allocations: 384 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.4324, allocations: 50.23 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4324, allocations: 7.938 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4324, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4324, allocations: 4 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.4326, allocations: 31.91 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4329, allocations: 200.5 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.4331, allocations: 34.56 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.4332, allocations: 28.84 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.4332, allocations: 7.969 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4332, allocations: 30.56 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4332, allocations: 0 / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003999/0.4336, allocations: 85.58 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.4337, allocations: 51.41 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4338, allocations: 101.9 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4338, allocations: 25.83 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.4339, allocations: 88.08 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.4339, allocations: 7.953 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.434, allocations: 17.7 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4341, allocations: 310.8 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.4342, allocations: 19.98 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.4343, allocations: 11.98 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4345, allocations: 48.81 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4345, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.4346, allocations: 65.61 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4347, allocations: 11.98 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4347, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4347, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.4348, allocations: 4 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4348, allocations: 4 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.4348, allocations: 8.016 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4348, allocations: 4 kB / 1.286 GB, free: 8.41 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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 9.624e-05/0.4349, allocations: 105.8 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.435, allocations: 3.938 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.4352, allocations: 84.84 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.4352, allocations: 0 / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4352, allocations: 3.938 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4352, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.4353, allocations: 105.4 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4353, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.4354, allocations: 15.92 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4354, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4354, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4354, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4354, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.4357, allocations: 163.5 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.4357, allocations: 7.969 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.4357, allocations: 8 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.4358, allocations: 7.984 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4358, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4358, allocations: 7.984 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.4359, allocations: 75.28 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4359, allocations: 7.938 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002119/0.4361, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0001575/0.4362, allocations: 99.25 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.4365, allocations: 39.95 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4365, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.4365, allocations: 19.92 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4369, allocations: 11.94 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.4372, allocations: 102.3 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.855e-05/0.4373, allocations: 67.47 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.4373, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.4374, allocations: 7.438 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4374, allocations: 0 / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of Templates: time 0.003197/0.4406, allocations: 463.3 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.854082403704524]