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.00166/0.00166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.487/1.487, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.867/2.867, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.714/0.7161, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002499/0.7187, allocations: 0.6611 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.7199, allocations: 0.804 MB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.72, allocations: 4 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.72, allocations: 7.875 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.147e-05/0.7201, allocations: 3.938 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.7203, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.7204, allocations: 23.98 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.7205, allocations: 7.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.7206, allocations: 15.92 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.7207, allocations: 11.98 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.7207, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.7208, allocations: 4 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.7208, allocations: 7.984 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.7208, allocations: 7.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.7209, allocations: 27.91 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7209, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7209, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.721, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 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.0005432/0.7215, allocations: 335 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.7216, allocations: 12.03 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.7216, allocations: 4.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.7219, allocations: 168.3 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7219, allocations: 384 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.7219, allocations: 4.375 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.7221, allocations: 50.23 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7221, allocations: 4.125 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.7222, allocations: 7.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7222, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.7224, allocations: 31.97 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.7228, allocations: 245 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.723, allocations: 42.5 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.7231, allocations: 16.91 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.7231, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.7232, allocations: 42.5 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.7232, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003927/0.7236, allocations: 77.73 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.7236, allocations: 55.34 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.7237, allocations: 105.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.7238, allocations: 25.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.7238, allocations: 84.05 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.7239, allocations: 11.84 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.7239, allocations: 13.72 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7241, allocations: 314.8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.7242, allocations: 20.02 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.7243, allocations: 19.92 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.7244, allocations: 52.75 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7244, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002131/0.7247, allocations: 65.67 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.7247, allocations: 8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7247, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7247, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.7248, allocations: 7.984 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7248, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.7249, allocations: 7.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.7249, allocations: 4 kB / 1.021 GB, free: 14.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.725, allocations: 117.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.7251, allocations: 3.906 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.7251, allocations: 11.12 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7251, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7251, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7251, allocations: 192 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.7253, allocations: 161.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7253, allocations: 3.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.7254, allocations: 11.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.7254, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.7254, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7254, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7255, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.7257, allocations: 163.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.7258, allocations: 77.11 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.7258, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.7259, allocations: 12.02 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.726, allocations: 11.88 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.726, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.7261, allocations: 79.28 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7261, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002324/0.7263, allocations: 8 kB / 1.021 GB, free: 14.15 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 (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.0001945/0.7265, allocations: 99.23 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.7267, allocations: 39.97 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7268, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-05/0.7268, allocations: 11.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.7272, allocations: 17.48 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.7276, allocations: 109.6 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.728, allocations: 0.6807 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.728, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.7281, allocations: 15.38 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7281, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.003175/0.7312, allocations: 437.6 kB / 1.023 GB, free: 12.7 MB / 0.7794 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=400 -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/jenkins/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