Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001903/0.001903, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00241/0.00241, allocations: 221.8 kB / 23 MB, free: 4.914 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.727/2.727, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [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.002081/0.002081, allocations: 68.88 kB / 1.118 GB, free: 41.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 170 MB / 1.284 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001975/0.3274, allocations: 0.656 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3286, allocations: 0.8472 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3286, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.3286, allocations: 3.938 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.3287, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3289, allocations: 15.92 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.3289, allocations: 16 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3291, allocations: 11.92 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.3291, allocations: 8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.3292, allocations: 15.91 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.3292, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.3292, allocations: 19.94 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.3292, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3292, allocations: 8 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.947e-05/0.3293, allocations: 27.83 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3293, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3293, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.3294, allocations: 4 kB / 1.285 GB, free: 10.21 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.0004472/0.3298, allocations: 262.3 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3298, allocations: 8.031 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.677e-05/0.3299, allocations: 4.938 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.33, allocations: 110.5 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3301, allocations: 4.375 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3301, allocations: 384 / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3303, allocations: 50.23 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3303, allocations: 192 / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3303, allocations: 7.875 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3303, allocations: 0 / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.3305, allocations: 39.89 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.3308, allocations: 196.6 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.3309, allocations: 34.56 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.331, allocations: 28.89 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.331, allocations: 3.938 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.331, allocations: 30.56 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.331, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/0.3314, allocations: 89.58 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3314, allocations: 51.41 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.3315, allocations: 97.86 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3316, allocations: 29.7 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.3316, allocations: 84.12 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3316, allocations: 7.891 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.3317, allocations: 17.72 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3318, allocations: 310.8 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.3319, allocations: 11.98 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.332, allocations: 28.09 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3321, allocations: 36.77 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3321, allocations: 4 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.3323, allocations: 65.59 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3324, allocations: 8 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3324, allocations: 4.094 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3324, allocations: 0 / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.3325, allocations: 7.984 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3325, allocations: 0 / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3325, allocations: 8 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3325, allocations: 4 kB / 1.287 GB, free: 8.418 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 8.247e-05/0.3326, allocations: 109.8 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3326, allocations: 11.88 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.3329, allocations: 76.91 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3329, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3329, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3329, allocations: 3.938 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.333, allocations: 105.3 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.333, allocations: 3.938 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.3331, allocations: 8 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3331, allocations: 4.125 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3331, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3331, allocations: 8.016 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3331, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3334, allocations: 163.5 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.3334, allocations: 11.92 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3334, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.3334, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3335, allocations: 3.984 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3335, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.3335, allocations: 79.31 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3335, allocations: 4 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002155/0.3338, allocations: 4 kB / 1.288 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.0001304/0.3339, allocations: 95.25 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3341, allocations: 35.95 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3341, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.3342, allocations: 27.98 kB / 1.288 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.0002905/0.3345, allocations: 4 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.3348, allocations: 123.3 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.3349, allocations: 59.34 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.3349, allocations: 7.438 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3349, allocations: 0 / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of Templates: time 0.001992/0.3369, allocations: 0.5602 MB / 1.288 GB, free: 6.801 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 11.024197017773986]