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.001611/0.001611, allocations: 110 kB / 18.93 MB, free: 2.945 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.001994/0.001994, allocations: 191.6 kB / 22.23 MB, free: 5.16 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.571/1.571, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.74/2.74, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.00197/0.00197, allocations: 59.91 kB / 1.062 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 160.8 MB / 1.219 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002165/1.143, allocations: 0.6797 MB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009966/1.144, allocations: 0.8005 MB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/1.144, allocations: 0 / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/1.144, allocations: 0 / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/1.144, allocations: 5.219 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/1.144, allocations: 6.469 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/1.145, allocations: 28.98 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/1.145, allocations: 9.375 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/1.145, allocations: 15.67 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/1.145, allocations: 10.7 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/1.145, allocations: 2.5 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/1.145, allocations: 2.625 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/1.145, allocations: 3.984 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/1.145, allocations: 10.78 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.618e-05/1.145, allocations: 19.28 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.145, allocations: 1.406 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.512e-06/1.145, allocations: 0 / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.819e-06/1.145, allocations: 4 kB / 1.22 GB, free: 2.414 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.0005365/1.145, allocations: 342.6 kB / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.146, allocations: 9.281 kB / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/1.146, allocations: 3.125 kB / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/1.146, allocations: 173.3 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/1.146, allocations: 1.344 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/1.146, allocations: 1.406 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/1.146, allocations: 53.92 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.146, allocations: 192 / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.146, allocations: 3.938 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.146, allocations: 1.188 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/1.146, allocations: 29.88 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/1.147, allocations: 253.3 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/1.147, allocations: 38.12 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/1.147, allocations: 23.09 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/1.147, allocations: 0 / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.147, allocations: 35.59 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/1.147, allocations: 0 / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003684/1.147, allocations: 88.27 kB / 1.221 GB, free: 1.332 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/1.147, allocations: 52.5 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/1.147, allocations: 102.8 kB / 1.221 GB, free: 1.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/1.147, allocations: 25.7 kB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/1.147, allocations: 85.14 kB / 1.221 GB, free: 1.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/1.147, allocations: 5.047 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/1.147, allocations: 15.94 kB / 1.221 GB, free: 1.023 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.148, allocations: 320.1 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/1.148, allocations: 17.83 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/1.148, allocations: 13.58 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/1.148, allocations: 39.47 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.148, allocations: 0 / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/1.148, allocations: 76.09 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.148, allocations: 5.375 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.148, allocations: 0 / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.148, allocations: 0.9062 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/1.148, allocations: 10.2 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.148, allocations: 0 / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/1.148, allocations: 12.23 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/1.148, allocations: 4 kB / 1.222 GB, free: 0.5938 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 8.273e-05/1.148, allocations: 119.9 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/1.148, allocations: 0.9062 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/1.148, allocations: 4.375 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.148, allocations: 1.125 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.148, allocations: 0 / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.148, allocations: 3.938 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/1.149, allocations: 166.8 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.149, allocations: 0 / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/1.149, allocations: 14.11 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.149, allocations: 192 / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.149, allocations: 5.062 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.149, allocations: 0 / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.149, allocations: 1.125 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/1.149, allocations: 166.7 kB / 1.222 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/1.149, allocations: 90.34 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/1.149, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/1.149, allocations: 8.078 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/1.149, allocations: 5.094 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/1.149, allocations: 1.094 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.717e-05/1.149, allocations: 78.66 kB / 1.222 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.149, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002117/1.149, allocations: 3.062 kB / 1.222 GB, free: 15.9 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 (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.0001499/1.15, allocations: 105.9 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002237/1.15, allocations: 36.41 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.15, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/1.15, allocations: 23.06 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/1.15, allocations: 6.562 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/1.15, allocations: 110 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.151, allocations: 0.6736 MB / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.041e-05/1.151, allocations: 0 / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/1.151, allocations: 12.97 kB / 1.223 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.151, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.002958/1.154, allocations: 458.1 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.48065902851522]