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.001883/0.001883, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.003041/0.003041, allocations: 196.5 kB / 16.14 MB, free: 6.719 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.562/1.562, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.916/2.916, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 75.89 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8361, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00244/0.8386, allocations: 0.7316 MB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.8398, allocations: 0.7962 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.8399, allocations: 8 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.8399, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.84, allocations: 3.938 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.8402, allocations: 7.984 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.577e-05/0.8403, allocations: 23.94 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.8404, allocations: 3.984 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.225e-05/0.8405, allocations: 7.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.8405, allocations: 15.97 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.8406, allocations: 3.938 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.8406, allocations: 8 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.8406, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.8406, allocations: 7.938 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.112e-05/0.8407, allocations: 23.95 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8408, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8408, allocations: 3.938 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5e-06/0.8408, allocations: 0 / 1.018 GB, free: 1.098 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.0005382/0.8413, allocations: 337.5 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 0.000131/0.8415, allocations: 8.031 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.8415, allocations: 4.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.8417, allocations: 168.3 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.8417, allocations: 384 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.8417, allocations: 384 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.8419, allocations: 54.17 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8419, allocations: 192 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.842, allocations: 11.86 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.842, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.8422, allocations: 39.95 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.8425, allocations: 241 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.8427, allocations: 38.5 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.702e-05/0.8428, allocations: 32.83 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.8428, allocations: 4 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/0.8429, allocations: 30.56 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8429, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003845/0.8433, allocations: 81.64 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.8433, allocations: 51.41 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.8434, allocations: 97.98 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.8435, allocations: 29.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.8435, allocations: 84.14 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.8436, allocations: 15.81 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.8436, allocations: 9.719 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8438, allocations: 318.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.8439, allocations: 15.92 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.844, allocations: 19.98 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.8441, allocations: 40.81 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8441, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.8443, allocations: 69.59 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.8444, allocations: 6.344 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8444, allocations: 96 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8444, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.8445, allocations: 8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.8445, allocations: 3.984 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.8446, allocations: 7.906 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.8446, allocations: 3.938 kB / 1.02 GB, free: 15.07 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 9.516e-05/0.8447, allocations: 117.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.8447, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.8448, allocations: 7.109 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8448, allocations: 7.938 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8448, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8448, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.845, allocations: 157.6 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.845, allocations: 7.938 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.8451, allocations: 7.984 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8451, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.8451, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8451, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8451, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.8454, allocations: 163.5 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.8454, allocations: 81.11 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.8455, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.8455, allocations: 11.92 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.8456, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.8456, allocations: 4.031 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.8457, allocations: 87.27 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8457, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002304/0.8459, allocations: 4 kB / 1.021 GB, free: 14.33 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.0001706/0.8461, allocations: 99.78 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.8463, allocations: 31.97 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8463, allocations: 4.062 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.8464, allocations: 23.97 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.8469, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.8473, allocations: 107.4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.8481, allocations: 0.6812 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.8481, allocations: 8.062 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.8482, allocations: 7.438 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.8482, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.003221/0.8514, allocations: 373.5 kB / 1.022 GB, free: 12.94 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