Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.0008987, allocations: 91.53 kB / 16.02 MB, free: 80 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.001091/0.001091, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003751, allocations: 12 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7477, allocations: 142.4 MB / 0.9557 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.000799/0.7485, allocations: 396.9 kB / 0.9561 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007173/0.7492, allocations: 0.8023 MB / 0.9569 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.7493, allocations: 0 / 0.9569 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.7493, allocations: 5.031 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.834e-05/0.7494, allocations: 0 / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.7495, allocations: 5.938 kB / 0.9569 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.7496, allocations: 20.73 kB / 0.9569 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.7497, allocations: 11.31 kB / 0.9569 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.7497, allocations: 7.547 kB / 0.9569 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.7498, allocations: 6.375 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.7498, allocations: 1.156 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.7498, allocations: 1.062 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.7498, allocations: 7.984 kB / 0.957 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.7499, allocations: 32.08 kB / 0.957 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.526e-05/0.7499, allocations: 19.23 kB / 0.957 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7499, allocations: 0 / 0.957 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7499, allocations: 1.5 kB / 0.957 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.75, allocations: 4 kB / 0.957 GB, free: 6.555 MB / 0.7169 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.0003505/0.7503, allocations: 336.8 kB / 0.9573 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7504, allocations: 8.969 kB / 0.9573 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.7504, allocations: 3.125 kB / 0.9573 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.7505, allocations: 165.3 kB / 0.9575 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.7505, allocations: 5.359 kB / 0.9575 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.7505, allocations: 5.344 kB / 0.9575 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.7507, allocations: 51.12 kB / 0.9576 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.7507, allocations: 192 / 0.9576 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7507, allocations: 7.938 kB / 0.9576 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7507, allocations: 5 kB / 0.9576 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.7509, allocations: 47.52 kB / 0.9576 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.7512, allocations: 245.5 kB / 0.9579 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.7513, allocations: 51.56 kB / 0.9579 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.101e-05/0.7514, allocations: 27.28 kB / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.7515, allocations: 1.094 kB / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.7515, allocations: 31.81 kB / 0.958 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7515, allocations: 0 / 0.958 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.7518, allocations: 102.8 kB / 0.9581 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.7519, allocations: 52.84 kB / 0.9581 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.7519, allocations: 102.2 kB / 0.9582 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.752, allocations: 29.64 kB / 0.9582 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.752, allocations: 85.77 kB / 0.9583 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.752, allocations: 9.281 kB / 0.9583 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.752, allocations: 13.72 kB / 0.9583 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.7521, allocations: 312.1 kB / 0.9586 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.7522, allocations: 21.47 kB / 0.9587 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.7523, allocations: 26.36 kB / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.7524, allocations: 45.95 kB / 0.9587 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7524, allocations: 0 / 0.9587 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.7526, allocations: 85.75 kB / 0.9588 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7526, allocations: 5.344 kB / 0.9588 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7527, allocations: 1.188 kB / 0.9588 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7527, allocations: 0 / 0.9588 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.7528, allocations: 16.36 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7528, allocations: 1.094 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.7528, allocations: 9.516 kB / 0.9588 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.7528, allocations: 1.094 kB / 0.9588 GB, free: 4.734 MB / 0.7169 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 4.934e-05/0.7529, allocations: 115 kB / 0.959 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.7529, allocations: 1.156 kB / 0.959 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.753, allocations: 4.344 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.753, allocations: 1.25 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.753, allocations: 4.188 kB / 0.959 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.753, allocations: 0 / 0.959 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.7531, allocations: 165.8 kB / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7531, allocations: 0.9688 kB / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.7532, allocations: 11.69 kB / 0.9591 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7532, allocations: 0.9688 kB / 0.9591 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.7532, allocations: 4 kB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7532, allocations: 0.875 kB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7532, allocations: 3.984 kB / 0.9591 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.7534, allocations: 181.1 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.7534, allocations: 82.09 kB / 0.9594 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.7535, allocations: 1.031 kB / 0.9594 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.7535, allocations: 10.03 kB / 0.9594 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.7536, allocations: 9.141 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.7536, allocations: 1 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.04e-05/0.7536, allocations: 78.97 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7536, allocations: 0 / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002067/0.7538, allocations: 2.906 kB / 0.9595 GB, free: 4.043 MB / 0.7169 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.0001138/0.7539, allocations: 102.3 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.7542, allocations: 47.39 kB / 0.9596 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7542, allocations: 0 / 0.9596 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.7543, allocations: 35.73 kB / 0.9597 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.7545, allocations: 6 kB / 0.9597 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.7548, allocations: 130.3 kB / 0.9598 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.7549, allocations: 0.6772 MB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.7549, allocations: 8.531 kB / 0.9605 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.755, allocations: 0 / 0.9605 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.001727/0.7567, allocations: 0.545 MB / 0.961 GB, free: 2.789 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches