Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.001779/0.001779, allocations: 114.4 kB / 17.13 MB, free: 5.914 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.002162/0.002162, allocations: 194.1 kB / 20.08 MB, free: 2.98 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.485/1.485, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.649/2.649, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 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.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 79.88 kB / 1.057 GB, free: 1.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.305, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001904/0.3069, allocations: 0.6584 MB / 1.215 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.3079, allocations: 0.8157 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.3079, allocations: 4 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.3079, allocations: 3.938 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.308, allocations: 3.938 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.3081, allocations: 7.984 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.3082, allocations: 23.88 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.3083, allocations: 7.984 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.3083, allocations: 4 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.3083, allocations: 15.92 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3084, allocations: 4 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.3084, allocations: 4 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3084, allocations: 4 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.3084, allocations: 7.922 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.599e-05/0.3085, allocations: 27.89 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3085, allocations: 4 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3085, allocations: 0 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3085, allocations: 0 / 1.216 GB, free: 15.28 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.0004251/0.3089, allocations: 339.4 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.309, allocations: 12.03 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.309, allocations: 8.891 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3091, allocations: 164.3 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3091, allocations: 384 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3092, allocations: 4.375 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3093, allocations: 46.23 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3093, allocations: 192 / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3094, allocations: 7.938 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-06/0.3094, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.3095, allocations: 35.95 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.3098, allocations: 241 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.31, allocations: 42.44 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.3101, allocations: 24.89 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3101, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3101, allocations: 34.56 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3101, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003431/0.3105, allocations: 77.64 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3105, allocations: 55.34 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.3106, allocations: 102 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3106, allocations: 25.7 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3106, allocations: 92.12 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.3107, allocations: 3.953 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3107, allocations: 13.72 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3109, allocations: 310.8 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.311, allocations: 15.98 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.311, allocations: 23.97 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3112, allocations: 40.83 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3112, allocations: 3.938 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002334/0.3114, allocations: 77.48 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3115, allocations: 7.938 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3115, allocations: 4.094 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3115, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.3116, allocations: 11.98 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3116, allocations: 0 / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.3116, allocations: 4 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3116, allocations: 0 / 1.217 GB, free: 13.25 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 0.000119/0.3118, allocations: 113.8 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3118, allocations: 4.172 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.3118, allocations: 11.12 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3118, allocations: 3.984 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3118, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3118, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3121, allocations: 165.5 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3121, allocations: 0 / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.3121, allocations: 7.984 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3121, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3121, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3121, allocations: 4 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3121, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.3124, allocations: 171.4 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.3125, allocations: 81.06 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3125, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.3126, allocations: 7.984 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3126, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-06/0.3126, allocations: 4.031 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.464e-05/0.3127, allocations: 83.27 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3127, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002227/0.3129, allocations: 8 kB / 1.218 GB, free: 12.51 MB / 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.0001751/0.3131, allocations: 99.25 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.3133, allocations: 35.95 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3133, allocations: 4.062 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-05/0.3134, allocations: 19.92 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3138, allocations: 9.969 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.3143, allocations: 135.1 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.3147, allocations: 0.6807 MB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3147, allocations: 7.438 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.3148, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of Templates: time 0.002278/0.317, allocations: 0.5552 MB / 1.22 GB, free: 10.9 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.334217783994973]