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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.904/2.904, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297/1.3, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00213/1.302, allocations: 0.6779 MB / 1.273 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00109/1.303, allocations: 0.82 MB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/1.303, allocations: 0.7188 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/1.303, allocations: 3.938 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/1.303, allocations: 5.453 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/1.303, allocations: 13.02 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/1.303, allocations: 19.56 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/1.303, allocations: 4.141 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/1.303, allocations: 16.72 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/1.303, allocations: 10.27 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/1.303, allocations: 5.719 kB / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/1.304, allocations: 1.781 kB / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/1.304, allocations: 2.484 kB / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/1.304, allocations: 15.45 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/1.304, allocations: 23.27 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.304, allocations: 1 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.474e-06/1.304, allocations: 0 / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.304, allocations: 0 / 1.274 GB, free: 6.805 MB / 0.9981 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.0004916/1.304, allocations: 332.5 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.304, allocations: 13.94 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/1.304, allocations: 10.36 kB / 1.274 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.304, allocations: 162.8 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.304, allocations: 2 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/1.304, allocations: 5.25 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/1.305, allocations: 45.39 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.305, allocations: 192 / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.305, allocations: 12.88 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.305, allocations: 0 / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/1.305, allocations: 42.27 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/1.305, allocations: 245.9 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.305, allocations: 42.7 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/1.305, allocations: 16.66 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/1.305, allocations: 4 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/1.305, allocations: 36.61 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.305, allocations: 0.75 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.00038/1.306, allocations: 86.66 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/1.306, allocations: 56.75 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/1.306, allocations: 104.7 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/1.306, allocations: 26.67 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/1.306, allocations: 82.39 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/1.306, allocations: 4.672 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/1.306, allocations: 20.92 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/1.306, allocations: 311.6 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/1.306, allocations: 16.84 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/1.306, allocations: 21.33 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/1.306, allocations: 37.77 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.306, allocations: 1 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/1.307, allocations: 66.91 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.307, allocations: 5.188 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.307, allocations: 4.938 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.307, allocations: 0 / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/1.307, allocations: 8.25 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.307, allocations: 0.9688 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/1.307, allocations: 10.69 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/1.307, allocations: 0.7812 kB / 1.275 GB, free: 5.09 MB / 0.9981 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 4.944e-05/1.307, allocations: 111.5 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/1.307, allocations: 5.594 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/1.307, allocations: 75.66 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.307, allocations: 0 / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.307, allocations: 1.188 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.307, allocations: 0.7969 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/1.307, allocations: 159.7 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/1.307, allocations: 0 / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/1.307, allocations: 9.172 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.307, allocations: 0.8125 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/1.307, allocations: 4.031 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.307, allocations: 1.156 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.307, allocations: 3.891 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/1.307, allocations: 171.2 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/1.307, allocations: 79.44 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/1.307, allocations: 0.9688 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/1.308, allocations: 10.78 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/1.308, allocations: 4.844 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/1.308, allocations: 1 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.596e-05/1.308, allocations: 81.83 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.308, allocations: 0 / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002037/1.308, allocations: 7.719 kB / 1.276 GB, free: 4.391 MB / 0.9981 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.0001339/1.308, allocations: 101.6 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002184/1.308, allocations: 39.94 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.308, allocations: 0 / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/1.308, allocations: 20.16 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/1.308, allocations: 13.92 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/1.309, allocations: 128.7 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/1.309, allocations: 0.6808 MB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.31e-05/1.309, allocations: 0.75 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/1.309, allocations: 9.438 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.309, allocations: 0 / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of Templates: time 0.003033/1.312, allocations: 438.2 kB / 1.277 GB, free: 3.395 MB / 0.9981 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.952588295564055]