Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001564/0.001564, allocations: 113.5 kB / 17.08 MB, free: 5.957 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.001777/0.001777, allocations: 192.7 kB / 20.02 MB, free: 3.039 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.512/1.512, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.1 MB / 0.7177 GB, free: 4.477 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 67.89 kB / 1.028 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3161, allocations: 151.6 MB / 1.176 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001946/0.318, allocations: 0.6634 MB / 1.177 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3191, allocations: 0.8199 MB / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.3191, allocations: 0 / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.3192, allocations: 0 / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.3192, allocations: 7.938 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.3194, allocations: 7.984 kB / 1.177 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.3195, allocations: 27.92 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3196, allocations: 4 kB / 1.177 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.3196, allocations: 11.98 kB / 1.177 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.3197, allocations: 15.92 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3197, allocations: 0 / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.3197, allocations: 4 kB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.3197, allocations: 0 / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.3198, allocations: 15.92 kB / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.154e-05/0.3199, allocations: 23.84 kB / 1.177 GB, free: 4.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3199, allocations: 0 / 1.177 GB, free: 4.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3199, allocations: 4 kB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3199, allocations: 0 / 1.177 GB, free: 4.164 MB / 0.92 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.0004684/0.3204, allocations: 335.5 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3204, allocations: 12.03 kB / 1.178 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.3204, allocations: 4.938 kB / 1.178 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3206, allocations: 164.3 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3206, allocations: 4.312 kB / 1.178 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3206, allocations: 8.375 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3208, allocations: 50.23 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3208, allocations: 192 / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3209, allocations: 7.938 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3209, allocations: 3.938 kB / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.321, allocations: 35.95 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.3214, allocations: 240.9 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3215, allocations: 50.47 kB / 1.178 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.3216, allocations: 16.91 kB / 1.178 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3217, allocations: 0 / 1.178 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3217, allocations: 34.56 kB / 1.178 GB, free: 3.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3217, allocations: 0 / 1.178 GB, free: 3.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/0.3221, allocations: 81.64 kB / 1.178 GB, free: 2.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3221, allocations: 55.34 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.3222, allocations: 105.8 kB / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3222, allocations: 25.7 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.3223, allocations: 80.14 kB / 1.179 GB, free: 2.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.3223, allocations: 11.88 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.3224, allocations: 21.84 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3225, allocations: 310.8 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.3226, allocations: 19.97 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.3227, allocations: 15.98 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3228, allocations: 36.83 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3229, allocations: 4.062 kB / 1.179 GB, free: 2.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.3231, allocations: 73.48 kB / 1.179 GB, free: 2.164 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3231, allocations: 10.19 kB / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3231, allocations: 0 / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3231, allocations: 192 / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.3232, allocations: 11.98 kB / 1.179 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3232, allocations: 0 / 1.179 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.3233, allocations: 11.92 kB / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3233, allocations: 12.02 kB / 1.179 GB, free: 2.121 MB / 0.92 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 7.564e-05/0.3234, allocations: 109.8 kB / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.3234, allocations: 0 / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.3236, allocations: 72.78 kB / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3237, allocations: 0 / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3237, allocations: 0 / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3237, allocations: 0 / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.3238, allocations: 165.6 kB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3239, allocations: 0 / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.3239, allocations: 11.94 kB / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3239, allocations: 0 / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3239, allocations: 0 / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3239, allocations: 3.984 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.324, allocations: 4 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3242, allocations: 167.5 kB / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.3243, allocations: 85 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3243, allocations: 4 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.3244, allocations: 0 / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.3244, allocations: 7.984 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3244, allocations: 0 / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.3245, allocations: 79.28 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.004e-06/0.3245, allocations: 0 / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002233/0.3247, allocations: 15.97 kB / 1.18 GB, free: 1.309 MB / 0.92 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.0001303/0.3248, allocations: 101.7 kB / 1.18 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3251, allocations: 39.95 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3251, allocations: 0 / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.3252, allocations: 15.98 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3254, allocations: 12.06 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.3257, allocations: 131.7 kB / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3261, allocations: 0.6768 MB / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.3261, allocations: 7.438 kB / 1.181 GB, free: 268 kB / 0.92 GB Notification: Performance of SimCode: time 2.354e-06/0.3261, allocations: 0 / 1.181 GB, free: 268 kB / 0.92 GB Notification: Performance of Templates: time 0.002103/0.3282, allocations: 0.5388 MB / 1.181 GB, free: 15.72 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.283642939990386]