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.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.001746/0.001746, allocations: 80.69 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001583/0.001583, allocations: 169.3 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.552/1.552, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.783/2.783, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.816e-06/2.816e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.72e-05, allocations: 10.22 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002586/0.002624, allocations: 0.6601 MB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.004216, allocations: 0.8315 MB / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.004261, allocations: 0 / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.004297, allocations: 7.938 kB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.004372, allocations: 0 / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.004562, allocations: 11.94 kB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.00466, allocations: 19.98 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.00478, allocations: 7.938 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.00488, allocations: 11.98 kB / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.004936, allocations: 11.98 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.004963, allocations: 0 / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.004977, allocations: 4 kB / 0.9526 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.005, allocations: 3.984 kB / 0.9526 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.005031, allocations: 11.94 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.005141, allocations: 23.95 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.005145, allocations: 4 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005145, allocations: 0 / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.005151, allocations: 3.938 kB / 0.9526 GB, free: 9.875 MB / 0.8575 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.0006023/0.005753, allocations: 258.3 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.005803, allocations: 8.031 kB / 0.9529 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.005841, allocations: 8.875 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.006001, allocations: 109.7 kB / 0.953 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.00602, allocations: 4.375 kB / 0.953 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.006038, allocations: 4.375 kB / 0.953 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.006295, allocations: 50.23 kB / 0.953 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006305, allocations: 192 / 0.953 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.006316, allocations: 384 / 0.953 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006322, allocations: 384 / 0.953 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.006565, allocations: 39.89 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.007017, allocations: 192.6 kB / 0.9533 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.007207, allocations: 34.56 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.007336, allocations: 24.89 kB / 0.9533 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.007363, allocations: 0 / 0.9533 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.007401, allocations: 34.56 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.007402, allocations: 0 / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005305/0.007933, allocations: 89.52 kB / 0.9534 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.007986, allocations: 51.53 kB / 0.9535 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.008122, allocations: 101.9 kB / 0.9536 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.008144, allocations: 29.64 kB / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.008215, allocations: 88.12 kB / 0.9537 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.008241, allocations: 3.953 kB / 0.9537 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.008283, allocations: 13.72 kB / 0.9537 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.008514, allocations: 314.8 kB / 0.954 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.008667, allocations: 15.98 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.008777, allocations: 15.97 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.00901, allocations: 40.89 kB / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009012, allocations: 0 / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002969/0.009309, allocations: 69.78 kB / 0.9542 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.009328, allocations: 4 kB / 0.9542 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.009339, allocations: 3.938 kB / 0.9542 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.009359, allocations: 0 / 0.9542 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.009484, allocations: 20 kB / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.00949, allocations: 0 / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.009581, allocations: 11.95 kB / 0.9542 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.009588, allocations: 0 / 0.9542 GB, free: 8.09 MB / 0.8575 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.0001404/0.009728, allocations: 109.8 kB / 0.9543 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.009771, allocations: 3.984 kB / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.009806, allocations: 7.25 kB / 0.9543 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009808, allocations: 0 / 0.9543 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.009818, allocations: 4 kB / 0.9543 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.009825, allocations: 0 / 0.9543 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.01003, allocations: 113.3 kB / 0.9544 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01004, allocations: 3.938 kB / 0.9544 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.01011, allocations: 4 kB / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01011, allocations: 0 / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.01013, allocations: 4 kB / 0.9544 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.01013, allocations: 3.938 kB / 0.9544 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.01013, allocations: 7.922 kB / 0.9544 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.01049, allocations: 155.5 kB / 0.9546 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.0105, allocations: 8.016 kB / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01052, allocations: 0 / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.01064, allocations: 7.938 kB / 0.9546 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.0107, allocations: 7.984 kB / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.0107, allocations: 0 / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.01077, allocations: 87.22 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01077, allocations: 0 / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003952/0.01116, allocations: 4 kB / 0.9547 GB, free: 7.512 MB / 0.8575 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.0001857/0.01135, allocations: 91.25 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.01165, allocations: 43.89 kB / 0.9548 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01165, allocations: 4 kB / 0.9548 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.01178, allocations: 15.98 kB / 0.9548 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.01228, allocations: 6.188 kB / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.01271, allocations: 112.8 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.895e-05/0.0128, allocations: 59.47 kB / 0.955 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.01283, allocations: 4 kB / 0.955 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.01287, allocations: 12.5 kB / 0.955 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.01287, allocations: 0 / 0.955 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.004489/0.01736, allocations: 478.9 kB / 0.9555 GB, free: 6.656 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.304037395864725]