Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001673/0.001672, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001989/0.001989, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.802/2.802, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 15.94 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9137, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001053/0.9148, allocations: 390.3 kB / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.916, allocations: 0.7963 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.916, allocations: 4 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.889e-05/0.9161, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.9161, allocations: 4 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.9163, allocations: 7.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.9164, allocations: 11.98 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.9165, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.9166, allocations: 11.92 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.9167, allocations: 8 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.9167, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.9167, allocations: 4 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.9168, allocations: 7.984 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.9168, allocations: 29.64 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.715e-05/0.9169, allocations: 15.95 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.9169, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9169, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9169, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 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.0004923/0.9174, allocations: 341.3 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.9175, allocations: 15.98 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.9175, allocations: 7.938 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.9177, allocations: 159.1 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.9177, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.9177, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.9179, allocations: 61.56 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.9179, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.918, allocations: 8 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.918, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.9182, allocations: 47.89 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.9186, allocations: 244.9 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.9187, allocations: 42.56 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.9188, allocations: 3.984 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.9188, allocations: 34.62 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9188, allocations: 4 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003854/0.9192, allocations: 101.5 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.9192, allocations: 51.41 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.9193, allocations: 106 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.9193, allocations: 25.7 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.9194, allocations: 84.14 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.9194, allocations: 15.83 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.9194, allocations: 0 / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9196, allocations: 310.8 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.9196, allocations: 19.98 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.9197, allocations: 23.98 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.806e-05/0.9198, allocations: 23.98 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9198, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.9201, allocations: 85.61 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9201, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9201, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.9201, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.9202, allocations: 15.98 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9202, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.9203, allocations: 12.02 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.9203, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.024e-05/0.9204, allocations: 109.8 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.9204, allocations: 3.953 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.9205, allocations: 11.06 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9205, allocations: 4 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9205, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9205, allocations: 8 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.9207, allocations: 157.7 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9207, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.9208, allocations: 11.98 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.9208, allocations: 3.953 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.9208, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.9208, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9208, allocations: 11.88 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.9211, allocations: 175.4 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.9211, allocations: 77.11 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.9211, allocations: 3.953 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.9212, allocations: 16.02 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.9213, allocations: 0 / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.9213, allocations: 0 / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.9213, allocations: 79.28 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9213, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002104/0.9215, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.9217, allocations: 103.2 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.9219, allocations: 51.91 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.922, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/0.9221, allocations: 19.98 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.9223, allocations: 16.06 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.9226, allocations: 96.7 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.9229, allocations: 0.6848 MB / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.541e-05/0.9229, allocations: 0 / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.9229, allocations: 7.438 kB / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.923, allocations: 0 / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of Templates: time 0.002682/0.9256, allocations: 355.7 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches