Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001699/0.001699, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002096/0.002096, allocations: 186 kB / 20.78 MB, free: 1.547 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.679/1.679, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7629 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.89 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002118/1.182, allocations: 0.6832 MB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009689/1.183, allocations: 0.8012 MB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/1.183, allocations: 0.9375 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/1.183, allocations: 4.547 kB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/1.184, allocations: 4.75 kB / 1.273 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/1.184, allocations: 12.12 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/1.184, allocations: 28.08 kB / 1.274 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/1.184, allocations: 8.234 kB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/1.184, allocations: 12.41 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/1.184, allocations: 10.09 kB / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/1.184, allocations: 5.594 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/1.184, allocations: 2.812 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/1.184, allocations: 5.016 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/1.184, allocations: 8.5 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.137e-05/1.184, allocations: 24.7 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.184, allocations: 0 / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.184, allocations: 0 / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.184, allocations: 4.875 kB / 1.274 GB, free: 6.828 MB / 0.9981 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.0004563/1.185, allocations: 334.4 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.185, allocations: 10.47 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/1.185, allocations: 5.766 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/1.185, allocations: 162.8 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/1.185, allocations: 1.828 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/1.185, allocations: 2 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/1.185, allocations: 52.75 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.185, allocations: 1.031 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/1.185, allocations: 3.938 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/1.185, allocations: 5.031 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/1.185, allocations: 36.61 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/1.185, allocations: 245.9 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/1.186, allocations: 40.3 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/1.186, allocations: 23.27 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.186, allocations: 5.203 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/1.186, allocations: 31.34 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.186, allocations: 4.781 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003432/1.186, allocations: 89.52 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/1.186, allocations: 51.41 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/1.186, allocations: 100.2 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/1.186, allocations: 26.58 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/1.186, allocations: 86.03 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/1.186, allocations: 5.078 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/1.186, allocations: 18.62 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/1.186, allocations: 316.1 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/1.186, allocations: 18.86 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/1.186, allocations: 17.98 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/1.187, allocations: 42.27 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.187, allocations: 5.062 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/1.187, allocations: 68.28 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.187, allocations: 7.438 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.187, allocations: 1.188 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.187, allocations: 0 / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/1.187, allocations: 9.5 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.187, allocations: 0.75 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/1.187, allocations: 6.625 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/1.187, allocations: 4.906 kB / 1.275 GB, free: 5.117 MB / 0.9981 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 6.699e-05/1.187, allocations: 115.5 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/1.187, allocations: 0.6875 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/1.187, allocations: 4.781 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.187, allocations: 0.6875 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.187, allocations: 1.781 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.187, allocations: 3.938 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/1.187, allocations: 159.8 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.187, allocations: 1.031 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/1.187, allocations: 17.55 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.187, allocations: 0 / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/1.187, allocations: 0.9688 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.187, allocations: 0 / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.187, allocations: 0.8438 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/1.188, allocations: 166.1 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/1.188, allocations: 82.8 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/1.188, allocations: 1.938 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/1.188, allocations: 5.656 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/1.188, allocations: 5.859 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/1.188, allocations: 1.062 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.061e-05/1.188, allocations: 82.44 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.188, allocations: 0 / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002518/1.188, allocations: 3.156 kB / 1.276 GB, free: 4.465 MB / 0.9981 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.0002374/1.188, allocations: 105.8 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002607/1.189, allocations: 35.78 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.189, allocations: 0 / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/1.189, allocations: 19.81 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/1.189, allocations: 8.406 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/1.189, allocations: 124.5 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/1.19, allocations: 0.6772 MB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.049e-05/1.19, allocations: 5.031 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/1.19, allocations: 8.188 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.19, allocations: 3.938 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of Templates: time 0.003766/1.193, allocations: 444.8 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.899744445458055]