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.001498/0.001498, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001735/0.001735, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.849/2.849, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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.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 2.835e-06/2.835e-06, allocations: 0 / 0.7864 GB, free: 11.65 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.738e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.003145/0.003183, allocations: 0.6652 MB / 0.7871 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.005185, allocations: 0.8445 MB / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.005238, allocations: 0 / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.635e-05/0.005284, allocations: 4.5 kB / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.005392, allocations: 7.922 kB / 0.7879 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.005656, allocations: 13.3 kB / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.005783, allocations: 23.92 kB / 0.788 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.005905, allocations: 4 kB / 0.788 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.006019, allocations: 16.48 kB / 0.788 GB, free: 10.08 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.006077, allocations: 12.72 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.006097, allocations: 0 / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.726e-05/0.006164, allocations: 7.984 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.006187, allocations: 4.734 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.006227, allocations: 8 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.006403, allocations: 33.98 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.006408, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.522e-06/0.00641, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.006416, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 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.000709/0.007125, allocations: 263.4 kB / 0.7883 GB, free: 9.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.007176, allocations: 11.97 kB / 0.7883 GB, free: 9.715 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.007335, allocations: 8.891 kB / 0.7883 GB, free: 9.707 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.007501, allocations: 107.1 kB / 0.7884 GB, free: 9.578 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.007518, allocations: 384 / 0.7884 GB, free: 9.578 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.007528, allocations: 4.375 kB / 0.7884 GB, free: 9.574 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.007797, allocations: 51.2 kB / 0.7885 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.00781, allocations: 4.125 kB / 0.7885 GB, free: 9.516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.007822, allocations: 384 / 0.7885 GB, free: 9.516 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.007826, allocations: 1.125 kB / 0.7885 GB, free: 9.516 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.008086, allocations: 46.34 kB / 0.7885 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.008521, allocations: 188.6 kB / 0.7887 GB, free: 9.258 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.008708, allocations: 34.56 kB / 0.7887 GB, free: 9.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.008833, allocations: 22.64 kB / 0.7888 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.008859, allocations: 0 / 0.7888 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.008913, allocations: 42.5 kB / 0.7888 GB, free: 9.141 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.008914, allocations: 0 / 0.7888 GB, free: 9.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004996/0.009414, allocations: 82.73 kB / 0.7889 GB, free: 9.055 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.009468, allocations: 52.5 kB / 0.7889 GB, free: 8.992 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.009606, allocations: 97.86 kB / 0.789 GB, free: 8.887 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.009632, allocations: 25.7 kB / 0.789 GB, free: 8.855 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.00972, allocations: 97.86 kB / 0.7891 GB, free: 8.758 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.009741, allocations: 3.953 kB / 0.7891 GB, free: 8.754 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.009791, allocations: 9.719 kB / 0.7892 GB, free: 8.738 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.01001, allocations: 314.8 kB / 0.7895 GB, free: 8.422 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01012, allocations: 17.39 kB / 0.7895 GB, free: 8.406 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.01022, allocations: 19.91 kB / 0.7895 GB, free: 8.387 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.01044, allocations: 43.42 kB / 0.7895 GB, free: 8.344 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01044, allocations: 0 / 0.7895 GB, free: 8.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002795/0.01072, allocations: 66.19 kB / 0.7896 GB, free: 8.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.01074, allocations: 4 kB / 0.7896 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.01075, allocations: 4.656 kB / 0.7896 GB, free: 8.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.01077, allocations: 4.531 kB / 0.7896 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01088, allocations: 9.641 kB / 0.7896 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.01089, allocations: 0 / 0.7896 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.01095, allocations: 4 kB / 0.7896 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.01096, allocations: 0 / 0.7896 GB, free: 8.25 MB / 0.698 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 0.0001181/0.01108, allocations: 118.2 kB / 0.7897 GB, free: 8.125 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.01112, allocations: 12.58 kB / 0.7897 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.01146, allocations: 73.69 kB / 0.7898 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01147, allocations: 1.156 kB / 0.7898 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.01147, allocations: 0 / 0.7898 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01148, allocations: 0 / 0.7898 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.01169, allocations: 110.7 kB / 0.7899 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01169, allocations: 0 / 0.7899 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.01177, allocations: 8 kB / 0.7899 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01178, allocations: 0.9062 kB / 0.7899 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.01179, allocations: 0 / 0.7899 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.01179, allocations: 3.938 kB / 0.7899 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.0118, allocations: 4.766 kB / 0.7899 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.01217, allocations: 164.6 kB / 0.7901 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.01218, allocations: 7.984 kB / 0.7901 GB, free: 7.699 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.0122, allocations: 0.8438 kB / 0.7901 GB, free: 7.699 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01232, allocations: 7.938 kB / 0.7901 GB, free: 7.691 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.01239, allocations: 5.328 kB / 0.7901 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.01239, allocations: 0 / 0.7901 GB, free: 7.688 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.01247, allocations: 79.28 kB / 0.7902 GB, free: 7.609 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.01247, allocations: 1.188 kB / 0.7902 GB, free: 7.609 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003576/0.01282, allocations: 8 kB / 0.7902 GB, free: 7.602 MB / 0.698 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.000194/0.01302, allocations: 97.12 kB / 0.7903 GB, free: 7.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.01331, allocations: 39.89 kB / 0.7903 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01331, allocations: 0 / 0.7903 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.01343, allocations: 18.45 kB / 0.7903 GB, free: 7.445 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.01391, allocations: 8 kB / 0.7904 GB, free: 7.438 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.01436, allocations: 116.7 kB / 0.7905 GB, free: 7.297 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.01446, allocations: 59.84 kB / 0.7905 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.01449, allocations: 0.5312 kB / 0.7905 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.01454, allocations: 14.44 kB / 0.7905 GB, free: 7.207 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/0.01454, allocations: 0 / 0.7905 GB, free: 7.207 MB / 0.698 GB Notification: Performance of Templates: time 0.003166/0.0177, allocations: 493.2 kB / 0.791 GB, free: 6.742 MB / 0.698 GB " [Timeout remaining time 300] 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: 7.787255077972077]