Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001267/0.001267, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.00127/0.00127, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.669/2.669, allocations: 437.1 MB / 0.7177 GB, free: 4.531 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001759/0.3146, allocations: 0.588 MB / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.883e-05/0.3146, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3147, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.3147, allocations: 3.938 kB / 1.176 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.483e-05/0.3147, allocations: 0 / 1.176 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.132e-05/0.3148, allocations: 0 / 1.176 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.751e-05/0.3148, allocations: 8 kB / 1.176 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.3149, allocations: 4 kB / 1.176 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.919e-05/0.3149, allocations: 3.938 kB / 1.176 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.315, allocations: 0 / 1.176 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.315, allocations: 3.984 kB / 1.176 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-06/0.315, allocations: 0 / 1.176 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.315, allocations: 4 kB / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.315, allocations: 0 / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.351e-05/0.3151, allocations: 3.984 kB / 1.176 GB, free: 5.242 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3151, allocations: 0 / 1.176 GB, free: 5.242 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3151, allocations: 0 / 1.176 GB, free: 5.242 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3151, allocations: 4 kB / 1.176 GB, free: 5.238 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003463/0.3155, allocations: 319.5 kB / 1.177 GB, free: 4.875 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3155, allocations: 11.97 kB / 1.177 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.3156, allocations: 4.875 kB / 1.177 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3157, allocations: 168.4 kB / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3157, allocations: 384 / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.3157, allocations: 384 / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.241e-05/0.3158, allocations: 30.2 kB / 1.177 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3158, allocations: 4.188 kB / 1.177 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3159, allocations: 7.938 kB / 1.177 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3159, allocations: 0 / 1.177 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.3159, allocations: 0 / 1.177 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.3162, allocations: 379.5 kB / 1.177 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3164, allocations: 173 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.3164, allocations: 84.14 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.3164, allocations: 79.28 kB / 1.178 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.3165, allocations: 109.9 kB / 1.178 GB, free: 3.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.3165, allocations: 0 / 1.178 GB, free: 3.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.296e-05/0.3166, allocations: 26.14 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.3167, allocations: 134.6 kB / 1.178 GB, free: 3.551 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.3168, allocations: 97.86 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3168, allocations: 25.7 kB / 1.178 GB, free: 3.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.3169, allocations: 84.14 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.3169, allocations: 0 / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.3169, allocations: 9.719 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.317, allocations: 318.8 kB / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-06/0.317, allocations: 0 / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.3171, allocations: 128 / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.3171, allocations: 79.28 kB / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/0.3171, allocations: 75.28 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.586e-05/0.3172, allocations: 37.62 kB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.3172, allocations: 79.28 kB / 1.179 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.3173, allocations: 79.22 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.388e-05/0.3174, allocations: 150.6 kB / 1.179 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.538e-05/0.3174, allocations: 87.22 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-05/0.3175, allocations: 154.6 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.3176, allocations: 75.28 kB / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.3176, allocations: 79.22 kB / 1.179 GB, free: 2.102 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 (0): * Single equations (assignments): 0 * 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.0001345/0.3177, allocations: 272.3 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.3178, allocations: 101 kB / 1.18 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.3179, allocations: 116 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/0.318, allocations: 180.3 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.848e-05/0.318, allocations: 176.3 kB / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-05/0.3181, allocations: 184.2 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.3184, allocations: 409.2 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/0.3184, allocations: 112.9 kB / 1.181 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.3185, allocations: 105.3 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.258e-05/0.3186, allocations: 180.3 kB / 1.181 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.419e-05/0.3187, allocations: 184.2 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.369e-05/0.3187, allocations: 180.3 kB / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.512e-05/0.3188, allocations: 180.2 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.319, allocations: 311.8 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.3191, allocations: 182 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.3192, allocations: 184.2 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.3193, allocations: 112.9 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.3194, allocations: 180.3 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.3194, allocations: 101 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.3195, allocations: 83.22 kB / 1.183 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3195, allocations: 0 / 1.183 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000259/0.3197, allocations: 0 / 1.183 GB, free: 14.42 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.0001787/0.3199, allocations: 174.5 kB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.191e-05/0.32, allocations: 96 / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.32, allocations: 4 kB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.32, allocations: 0 / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3204, allocations: 469.8 kB / 1.183 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.3206, allocations: 173.9 kB / 1.183 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3209, allocations: 0.6728 MB / 1.184 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.3209, allocations: 11.44 kB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3209, allocations: 0 / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.001565/0.3225, allocations: 323.9 kB / 1.184 GB, free: 12.54 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.015812037978321]