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.001834/0.001834, allocations: 110.8 kB / 18.88 MB, free: 3.043 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.002276/0.002276, allocations: 200.1 kB / 22.17 MB, free: 5.195 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.529/1.529, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.00236/0.00236, allocations: 67.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9192/0.9216, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00191/0.9235, allocations: 0.6654 MB / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.9246, allocations: 0.8196 MB / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.9246, allocations: 0 / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.9247, allocations: 0 / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.9247, allocations: 3.938 kB / 1.276 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.9249, allocations: 11.98 kB / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.925, allocations: 19.92 kB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.9251, allocations: 8 kB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.9251, allocations: 19.86 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.9252, allocations: 7.984 kB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.9252, allocations: 0 / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.9252, allocations: 8 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.9252, allocations: 7.938 kB / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.9253, allocations: 7.984 kB / 1.276 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.9254, allocations: 22.58 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.9254, allocations: 0 / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9254, allocations: 4 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.9254, allocations: 0 / 1.276 GB, free: 2.941 MB / 0.9669 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.0005455/0.9259, allocations: 335.5 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.926, allocations: 8.031 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.926, allocations: 12.89 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.9262, allocations: 164.3 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.9262, allocations: 384 / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.9262, allocations: 384 / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.9264, allocations: 54.22 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.9264, allocations: 192 / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.9264, allocations: 3.938 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.9264, allocations: 4 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.9266, allocations: 35.95 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.927, allocations: 248.9 kB / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.9271, allocations: 46.47 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.9272, allocations: 24.91 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.9272, allocations: 4 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.9273, allocations: 30.56 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9273, allocations: 0 / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003859/0.9276, allocations: 85.58 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.9277, allocations: 51.41 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.9278, allocations: 97.84 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.9278, allocations: 29.83 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.9279, allocations: 96.03 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.9279, allocations: 3.953 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.9279, allocations: 9.719 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9281, allocations: 318.8 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.9282, allocations: 15.97 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.9283, allocations: 19.98 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.9284, allocations: 36.83 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9284, allocations: 0 / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.9286, allocations: 73.53 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9286, allocations: 4 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.9286, allocations: 0 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.9287, allocations: 8.031 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.9288, allocations: 15.98 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9288, allocations: 0 / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.9288, allocations: 7.984 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.9288, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 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.001e-05/0.9289, allocations: 113.8 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.9289, allocations: 4 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.9292, allocations: 68.78 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.9292, allocations: 0 / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.9292, allocations: 3.938 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.9292, allocations: 4 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.9294, allocations: 161.6 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9294, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.9294, allocations: 4 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9294, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-06/0.9294, allocations: 7.938 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9294, allocations: 4.031 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9294, allocations: 3.984 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.9297, allocations: 163.4 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.9297, allocations: 81.09 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.9298, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.9298, allocations: 4 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.9299, allocations: 8.016 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.9299, allocations: 4 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.472e-05/0.9299, allocations: 79.47 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.9299, allocations: 0 / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002095/0.9301, allocations: 7.938 kB / 1.278 GB, free: 104 kB / 0.9669 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.0001663/0.9303, allocations: 99.78 kB / 1.278 GB, free: 16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.9305, allocations: 39.95 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9305, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.9306, allocations: 19.98 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.9309, allocations: 10.75 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.9313, allocations: 126 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.9316, allocations: 0.6809 MB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.9316, allocations: 4 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.9317, allocations: 7.438 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.9317, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.002879/0.9345, allocations: 448.4 kB / 1.28 GB, free: 14.63 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.8215739489533]