Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.0008434/0.0008434, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00084/0.00084, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.828/1.828, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.956e-05, allocations: 5.234 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001457/0.001487, allocations: 0.6639 MB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.002271, allocations: 0.8276 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.002301, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.002325, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.002382, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.002518, allocations: 8 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.002584, allocations: 19.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.002678, allocations: 11.98 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.002749, allocations: 19.92 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.002783, allocations: 3.984 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.002805, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-06/0.002811, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.002826, allocations: 8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.002843, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.002924, allocations: 31.88 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.002926, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002927, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.002932, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 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.0003432/0.003275, allocations: 266.3 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.003313, allocations: 8.75 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.00334, allocations: 4.938 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/0.003417, allocations: 101.8 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.00343, allocations: 8.312 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.003439, allocations: 384 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.003563, allocations: 50.23 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.00357, allocations: 192 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003579, allocations: 384 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003583, allocations: 384 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.003675, allocations: 43.89 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.003939, allocations: 188.6 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.004017, allocations: 38.5 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.004062, allocations: 20.89 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.004081, allocations: 7.984 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.004104, allocations: 34.56 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.004105, allocations: 4 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002245/0.004329, allocations: 81.53 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.004359, allocations: 55.41 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.004412, allocations: 101.8 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004422, allocations: 25.7 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.004457, allocations: 88.12 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.004474, allocations: 7.953 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.004497, allocations: 9.844 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.004572, allocations: 318.8 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.004614, allocations: 15.98 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.004651, allocations: 27.84 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.004727, allocations: 40.83 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004728, allocations: 0 / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001008/0.004829, allocations: 69.72 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004841, allocations: 4 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.004846, allocations: 7.875 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.004858, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.004921, allocations: 11.98 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.004924, allocations: 0 / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.004945, allocations: 4 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.00495, allocations: 0 / 1.004 GB, free: 9.512 MB / 0.9636 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 5.339e-05/0.005003, allocations: 113.9 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.005015, allocations: 3.984 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.00504, allocations: 11.25 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.005041, allocations: 0 / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.005046, allocations: 0 / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005049, allocations: 0 / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.912e-05/0.005138, allocations: 113.3 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005138, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.005165, allocations: 4 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005166, allocations: 0 / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.005172, allocations: 0 / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.005174, allocations: 11.94 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.005176, allocations: 3.984 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.005394, allocations: 155.5 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.005401, allocations: 3.984 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.00541, allocations: 0 / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.005447, allocations: 7.938 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.005481, allocations: 11.98 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005483, allocations: 0 / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.00551, allocations: 83.31 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00551, allocations: 0 / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000141/0.005651, allocations: 4 kB / 1.005 GB, free: 8.934 MB / 0.9636 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 8.357e-05/0.005735, allocations: 91.25 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.005857, allocations: 39.95 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.005858, allocations: 0 / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.005902, allocations: 31.92 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.006127, allocations: 7.938 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.006371, allocations: 127.3 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.006438, allocations: 63.34 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.006462, allocations: 12.44 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.006463, allocations: 0 / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of Templates: time 0.001352/0.007815, allocations: 0.5698 MB / 1.006 GB, free: 7.941 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.455596563406289]