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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01061/0.01062, allocations: 101 kB / 15.73 MB, free: 6.039 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.001775/0.001774, allocations: 193.8 kB / 16.68 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.03 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.137, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001727/1.139, allocations: 0.6695 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008248/1.14, allocations: 0.7983 MB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/1.14, allocations: 0.9688 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/1.14, allocations: 3.938 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/1.14, allocations: 5.688 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/1.14, allocations: 7.062 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/1.14, allocations: 24.73 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/1.14, allocations: 8.484 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/1.14, allocations: 12.44 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/1.14, allocations: 10.61 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/1.14, allocations: 1 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/1.14, allocations: 2.125 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/1.14, allocations: 10.19 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/1.14, allocations: 11.27 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/1.14, allocations: 20.42 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.14, allocations: 1.125 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.335e-06/1.14, allocations: 0.6562 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.691e-06/1.14, allocations: 0 / 1.09 GB, free: 4.418 MB / 0.8575 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.0004869/1.141, allocations: 336.7 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/1.141, allocations: 9.094 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/1.141, allocations: 5.938 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/1.141, allocations: 168.7 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/1.141, allocations: 4.312 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/1.141, allocations: 1.688 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/1.141, allocations: 53.59 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.141, allocations: 192 / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.142, allocations: 7.938 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.142, allocations: 1.062 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/1.142, allocations: 32.69 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/1.142, allocations: 242.7 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/1.142, allocations: 44.69 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/1.142, allocations: 31.2 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/1.142, allocations: 1.422 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/1.142, allocations: 31.41 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.142, allocations: 0 / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003778/1.143, allocations: 80.23 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/1.143, allocations: 56.62 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/1.143, allocations: 101.3 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/1.143, allocations: 26.22 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/1.143, allocations: 89.95 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/1.143, allocations: 1.75 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/1.143, allocations: 12.5 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.657e-05/1.143, allocations: 316.8 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/1.143, allocations: 22.03 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/1.143, allocations: 17.89 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/1.143, allocations: 37.66 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.143, allocations: 0 / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/1.144, allocations: 75.73 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.144, allocations: 4.594 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.144, allocations: 5.031 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.144, allocations: 0.5156 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/1.144, allocations: 9.094 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.144, allocations: 0.7969 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/1.144, allocations: 5.844 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/1.144, allocations: 5.859 kB / 1.091 GB, free: 2.703 MB / 0.8575 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 5.074e-05/1.144, allocations: 118.8 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/1.144, allocations: 2.703 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/1.144, allocations: 3.641 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.144, allocations: 1.125 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.144, allocations: 0.5625 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.144, allocations: 1.219 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/1.144, allocations: 163.6 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.144, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/1.144, allocations: 12.86 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.144, allocations: 4.5 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.144, allocations: 5.094 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.144, allocations: 0.7969 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.144, allocations: 0.9062 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/1.144, allocations: 161.5 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/1.144, allocations: 83.36 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/1.144, allocations: 1.094 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/1.145, allocations: 13.95 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/1.145, allocations: 2.094 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/1.145, allocations: 1.953 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.756e-05/1.145, allocations: 83.91 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.145, allocations: 0 / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002056/1.145, allocations: 3.281 kB / 1.092 GB, free: 2.039 MB / 0.8575 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.000135/1.145, allocations: 100.1 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002349/1.145, allocations: 38.61 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.145, allocations: 0 / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/1.145, allocations: 20.83 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/1.146, allocations: 9.875 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/1.146, allocations: 108.8 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/1.146, allocations: 0.6803 MB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.419e-05/1.146, allocations: 1.188 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/1.146, allocations: 12.44 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/1.146, allocations: 0 / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of Templates: time 0.002783/1.149, allocations: 436.6 kB / 1.093 GB, free: 1.059 MB / 0.8575 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/jenkins/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