Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 106.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 72.67 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2937, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002245/0.296, allocations: 0.6652 MB / 1.019 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000978/0.297, allocations: 0.8001 MB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.297, allocations: 0 / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.2971, allocations: 3.938 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.2972, allocations: 11.94 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2973, allocations: 7.984 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.2974, allocations: 19.98 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2975, allocations: 4 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.2976, allocations: 19.81 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.2977, allocations: 11.98 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2977, allocations: 0 / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.2977, allocations: 4 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2977, allocations: 3.938 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.2978, allocations: 11.97 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.2979, allocations: 27.91 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.2979, allocations: 4 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2979, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2979, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.795 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.0004703/0.2984, allocations: 331.8 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2984, allocations: 8.625 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.2984, allocations: 8.844 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2986, allocations: 168.3 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2986, allocations: 8.375 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2986, allocations: 4.375 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2988, allocations: 46.23 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2988, allocations: 192 / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2988, allocations: 11.88 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2988, allocations: 0 / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.299, allocations: 31.95 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.2994, allocations: 245 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.2995, allocations: 42.48 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.2996, allocations: 24.84 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2996, allocations: 0 / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2996, allocations: 38.5 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2997, allocations: 0 / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.3, allocations: 81.64 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.3001, allocations: 51.41 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.3001, allocations: 97.86 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.3002, allocations: 29.7 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.3003, allocations: 88.25 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3003, allocations: 7.906 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.3003, allocations: 13.72 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3005, allocations: 310.8 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.3005, allocations: 15.98 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.3006, allocations: 23.91 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3008, allocations: 36.89 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3008, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.301, allocations: 77.5 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.301, allocations: 4 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3011, allocations: 0 / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3011, allocations: 7.938 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.3012, allocations: 7.984 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3012, allocations: 4.031 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.3012, allocations: 8 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3012, allocations: 0 / 1.021 GB, free: 6.996 MB / 0.795 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 8.194e-05/0.3013, allocations: 117.8 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.3014, allocations: 3.938 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.3014, allocations: 7.125 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3014, allocations: 0 / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3014, allocations: 4 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3014, allocations: 4 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3016, allocations: 157.6 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.3017, allocations: 7.984 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3017, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3017, allocations: 4 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3017, allocations: 0 / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3017, allocations: 3.938 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.3019, allocations: 163.5 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.302, allocations: 77.11 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.302, allocations: 8.172 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.3021, allocations: 4 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.3021, allocations: 3.984 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3021, allocations: 7.984 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.3022, allocations: 79.22 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3022, allocations: 4.031 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002118/0.3024, allocations: 4 kB / 1.022 GB, free: 6.254 MB / 0.795 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.0001448/0.3026, allocations: 103.2 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3028, allocations: 35.95 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3028, allocations: 0 / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.3029, allocations: 20.05 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3032, allocations: 11.94 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3035, allocations: 143.1 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3037, allocations: 0.6768 MB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.3038, allocations: 7.438 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.3038, allocations: 0 / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of Templates: time 0.001794/0.3056, allocations: 0.5549 MB / 1.023 GB, free: 4.641 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches