Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008306/0.0008306, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.000814/0.000814, 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.898/0.898, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.9823 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.21e-05, allocations: 5.375 kB / 0.9823 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001376/0.001408, allocations: 0.6561 MB / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.002236, allocations: 0.8314 MB / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.002271, allocations: 0 / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002299, allocations: 0 / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.002358, allocations: 7.938 kB / 0.9837 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.002497, allocations: 7.984 kB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.002565, allocations: 23.92 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.002658, allocations: 7.984 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.002725, allocations: 15.94 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.344e-05/0.002758, allocations: 7.984 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.00278, allocations: 0 / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.002788, allocations: 4 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.002803, allocations: 8 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.00282, allocations: 0 / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.043e-05/0.0029, allocations: 35.88 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002903, allocations: 0 / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002904, allocations: 0 / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.002908, allocations: 0 / 0.9838 GB, free: 376 kB / 0.9323 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.0003538/0.003262, allocations: 258.3 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.003296, allocations: 12.03 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.003324, allocations: 8.828 kB / 0.9841 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/0.003415, allocations: 113.7 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.003425, allocations: 4.375 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.003435, allocations: 4.375 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.003566, allocations: 50.23 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.003574, allocations: 192 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.003584, allocations: 384 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.003588, allocations: 384 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.003678, allocations: 39.89 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.003934, allocations: 188.6 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.00402, allocations: 46.53 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.004067, allocations: 16.91 kB / 0.9845 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.004087, allocations: 4 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.004107, allocations: 30.56 kB / 0.9846 GB, free: 15.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.004108, allocations: 0 / 0.9846 GB, free: 15.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.004333, allocations: 89.67 kB / 0.9847 GB, free: 15.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.004363, allocations: 55.34 kB / 0.9847 GB, free: 15.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.004418, allocations: 97.86 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004428, allocations: 29.69 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.004462, allocations: 84.14 kB / 0.9849 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.004478, allocations: 3.953 kB / 0.9849 GB, free: 15.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.004503, allocations: 17.72 kB / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003347/0.004838, allocations: 310.8 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.004882, allocations: 15.98 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.004924, allocations: 24 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.756e-05/0.005001, allocations: 32.83 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005003, allocations: 0 / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/0.005107, allocations: 73.55 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.00512, allocations: 7.938 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.005126, allocations: 3.938 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.005138, allocations: 8.094 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.005199, allocations: 7.984 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.005203, allocations: 0 / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.005226, allocations: 8 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005231, allocations: 0 / 0.9854 GB, free: 14.58 MB / 0.948 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.079e-05/0.005282, allocations: 113.8 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.005292, allocations: 0 / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.005313, allocations: 7.25 kB / 0.9855 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.005316, allocations: 4.188 kB / 0.9855 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.00532, allocations: 4 kB / 0.9855 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.005325, allocations: 3.984 kB / 0.9855 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/0.005408, allocations: 105.3 kB / 0.9856 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005409, allocations: 3.938 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.005431, allocations: 4 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.005434, allocations: 4 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.005441, allocations: 3.984 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.005443, allocations: 3.938 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005444, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.00557, allocations: 167.5 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.005577, allocations: 3.953 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.005588, allocations: 8 kB / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.005624, allocations: 7.938 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.005656, allocations: 3.984 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.005658, allocations: 0 / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.005683, allocations: 83.28 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005683, allocations: 0 / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001397/0.005823, allocations: 4 kB / 0.9859 GB, free: 14 MB / 0.948 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 9.175e-05/0.005915, allocations: 95.28 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.006037, allocations: 39.95 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006038, allocations: 0 / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.006077, allocations: 19.92 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.00628, allocations: 4 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.006525, allocations: 134.6 kB / 0.9862 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.006567, allocations: 63.28 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.006592, allocations: 12.5 kB / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.006593, allocations: 0 / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of Templates: time 0.001348/0.007941, allocations: 0.5704 MB / 0.9868 GB, free: 13.01 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.514169195666909]