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.00152/0.00152, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001691/0.001691, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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 1.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.902/2.902, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.535e-06/2.535e-06, allocations: 0 / 0.8109 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.846e-05/4.1e-05, allocations: 5.125 kB / 0.8109 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00237/0.002411, allocations: 0.6531 MB / 0.8115 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.003828, allocations: 0.8284 MB / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.00387, allocations: 0 / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.003903, allocations: 4 kB / 0.8123 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.003985, allocations: 9.125 kB / 0.8123 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.004121, allocations: 4 kB / 0.8123 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.004207, allocations: 27.92 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.004304, allocations: 5.734 kB / 0.8124 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.00439, allocations: 11.98 kB / 0.8124 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.004432, allocations: 11.98 kB / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.00445, allocations: 0 / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-06/0.004457, allocations: 4.844 kB / 0.8124 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.004476, allocations: 3.938 kB / 0.8124 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.004506, allocations: 8 kB / 0.8124 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.004601, allocations: 20.61 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004604, allocations: 1.375 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004605, allocations: 0 / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.004609, allocations: 0 / 0.8124 GB, free: 15.29 MB / 0.7292 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.0005253/0.005135, allocations: 263.7 kB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.005179, allocations: 8.031 kB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.005231, allocations: 8.891 kB / 0.8127 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005362, allocations: 109.7 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005375, allocations: 5 kB / 0.8128 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.005385, allocations: 384 / 0.8128 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.005716, allocations: 51.14 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.005728, allocations: 4.844 kB / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.00574, allocations: 4.375 kB / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.005745, allocations: 1.062 kB / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.005939, allocations: 37.14 kB / 0.8129 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.006305, allocations: 192.6 kB / 0.8131 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.006456, allocations: 40.56 kB / 0.8131 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.006554, allocations: 28.89 kB / 0.8132 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.006577, allocations: 0 / 0.8132 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.006622, allocations: 30.56 kB / 0.8132 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.006623, allocations: 0.8438 kB / 0.8132 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0004015/0.007024, allocations: 87.11 kB / 0.8133 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.007079, allocations: 59.34 kB / 0.8133 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.00719, allocations: 102.8 kB / 0.8134 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.007212, allocations: 25.7 kB / 0.8134 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.007284, allocations: 88.8 kB / 0.8135 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.007302, allocations: 3.953 kB / 0.8135 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.007343, allocations: 18.25 kB / 0.8135 GB, free: 14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.007514, allocations: 310.8 kB / 0.8138 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.007615, allocations: 21.14 kB / 0.8139 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.007695, allocations: 16.75 kB / 0.8139 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.007859, allocations: 37.73 kB / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.00786, allocations: 0.5312 kB / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002236/0.008084, allocations: 70.97 kB / 0.814 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.0081, allocations: 5.281 kB / 0.814 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.008108, allocations: 3.938 kB / 0.814 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.008129, allocations: 0 / 0.814 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.008232, allocations: 16.64 kB / 0.814 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.008237, allocations: 0 / 0.814 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.008286, allocations: 4.719 kB / 0.814 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.008291, allocations: 0 / 0.814 GB, free: 13.51 MB / 0.7292 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 9.46e-05/0.008386, allocations: 111.4 kB / 0.8141 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.00841, allocations: 0 / 0.8141 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.008444, allocations: 15.23 kB / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.008445, allocations: 0.5938 kB / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.00845, allocations: 0 / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.008457, allocations: 5.844 kB / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.00862, allocations: 97.33 kB / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.008623, allocations: 3.984 kB / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.008687, allocations: 4 kB / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.00869, allocations: 0.875 kB / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.008697, allocations: 0 / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.008701, allocations: 11.88 kB / 0.8143 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008702, allocations: 3.469 kB / 0.8143 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.008994, allocations: 163.5 kB / 0.8144 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.009004, allocations: 3.953 kB / 0.8144 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.009022, allocations: 7.984 kB / 0.8144 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.009105, allocations: 7.938 kB / 0.8144 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.009152, allocations: 7.984 kB / 0.8144 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.009156, allocations: 0.625 kB / 0.8144 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.009212, allocations: 83.28 kB / 0.8145 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009212, allocations: 1.75 kB / 0.8145 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002334/0.009445, allocations: 4 kB / 0.8145 GB, free: 12.95 MB / 0.7292 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.0001425/0.009588, allocations: 91.25 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.009813, allocations: 37.02 kB / 0.8146 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009815, allocations: 9.469 kB / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.009902, allocations: 15.98 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.01022, allocations: 11.08 kB / 0.8147 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.01058, allocations: 108.6 kB / 0.8148 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.017e-05/0.01065, allocations: 60.19 kB / 0.8148 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.01068, allocations: 5.25 kB / 0.8148 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.01071, allocations: 12.5 kB / 0.8149 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/0.01071, allocations: 0 / 0.8149 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.003172/0.01388, allocations: 485.2 kB / 0.8153 GB, free: 12.09 MB / 0.7292 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: 7.75362250697799]