Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001722/0.001722, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002091/0.002091, allocations: 212.6 kB / 22.99 MB, free: 4.945 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [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.002281/0.002281, allocations: 72.56 kB / 1.154 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3137, allocations: 176.1 MB / 1.326 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001937/0.3156, allocations: 0.6507 MB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3167, allocations: 0.8553 MB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.3168, allocations: 3.938 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.3168, allocations: 3.938 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.3168, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.317, allocations: 19.92 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.3171, allocations: 16 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.3172, allocations: 11.92 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.3172, allocations: 11.94 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.3172, allocations: 7.984 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3173, allocations: 0 / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.179e-05/0.3173, allocations: 11.98 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.3173, allocations: 11.94 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.3173, allocations: 0 / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3174, allocations: 35.83 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3174, allocations: 0 / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3174, allocations: 0 / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3174, allocations: 0 / 1.328 GB, free: 92 kB / 1.014 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.0004474/0.3179, allocations: 262.3 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3179, allocations: 8.031 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.318, allocations: 4.938 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3181, allocations: 114.5 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3181, allocations: 4.375 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3182, allocations: 4.375 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3183, allocations: 54.17 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3183, allocations: 192 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3184, allocations: 3.938 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3184, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3185, allocations: 35.95 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.3188, allocations: 192.5 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.319, allocations: 46.53 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.319, allocations: 20.84 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3191, allocations: 7.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3191, allocations: 34.56 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3191, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.3194, allocations: 77.73 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3195, allocations: 55.41 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.3196, allocations: 97.86 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3196, allocations: 25.7 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.3196, allocations: 88.12 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3197, allocations: 11.94 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.3197, allocations: 9.719 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3198, allocations: 314.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.3199, allocations: 19.92 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.32, allocations: 23.94 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3201, allocations: 40.83 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3201, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.3203, allocations: 69.59 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3204, allocations: 6.188 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3204, allocations: 96 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3204, allocations: 4 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.3205, allocations: 11.98 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.3205, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.3205, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3205, allocations: 3.938 kB / 1.33 GB, free: 14.29 MB / 1.029 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.136e-05/0.3206, allocations: 114.4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3206, allocations: 7.891 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3208, allocations: 72.97 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3208, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3209, allocations: 4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3209, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.321, allocations: 105.3 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.321, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.321, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3211, allocations: 3.938 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3211, allocations: 7.984 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3211, allocations: 3.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3211, allocations: 4.031 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.3213, allocations: 163.5 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.3213, allocations: 4.125 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3213, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.3214, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.3214, allocations: 11.97 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3214, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.3215, allocations: 79.28 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3215, allocations: 4.031 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002226/0.3217, allocations: 8 kB / 1.33 GB, free: 13.63 MB / 1.029 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.0001197/0.3218, allocations: 91.25 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.322, allocations: 39.89 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3221, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.3221, allocations: 11.98 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3224, allocations: 12.12 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.3227, allocations: 132 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.3228, allocations: 59.34 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.3228, allocations: 15.38 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3228, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Templates: time 0.002095/0.3249, allocations: 0.5496 MB / 1.331 GB, free: 12.66 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.117470966652036]