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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00987/0.00987, allocations: 98.2 kB / 15.73 MB, free: 6.012 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.002732/0.002732, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.676/2.676, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3519, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00179/0.3538, allocations: 0.6619 MB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3548, allocations: 0.8082 MB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.3549, allocations: 0 / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.355, allocations: 0 / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.355, allocations: 11.94 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.3552, allocations: 7.984 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.3553, allocations: 27.86 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3554, allocations: 7.984 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.222e-05/0.3555, allocations: 8 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.3555, allocations: 15.92 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3556, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.3556, allocations: 4 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.3556, allocations: 0 / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.3556, allocations: 11.94 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.083e-05/0.3557, allocations: 27.88 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3557, allocations: 4 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3557, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3558, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 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.0004575/0.3562, allocations: 339.7 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3563, allocations: 8.031 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.3563, allocations: 30.75 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.3563, allocations: 4.938 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3565, allocations: 172.3 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3565, allocations: 384 / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3565, allocations: 8.375 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3567, allocations: 50.22 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3567, allocations: 3.938 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3567, allocations: 4 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3568, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.3569, allocations: 35.95 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3573, allocations: 248.9 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3574, allocations: 46.48 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.3575, allocations: 20.84 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3575, allocations: 0 / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.3576, allocations: 34.56 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3576, allocations: 0 / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.3579, allocations: 85.58 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.358, allocations: 51.41 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3582, allocations: 105.8 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3582, allocations: 25.83 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3583, allocations: 84.14 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3583, allocations: 7.953 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3583, allocations: 13.72 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3585, allocations: 310.8 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.3586, allocations: 19.97 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.3587, allocations: 15.98 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3588, allocations: 36.89 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3589, allocations: 7.938 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.3591, allocations: 69.55 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3591, allocations: 13.97 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3591, allocations: 0 / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3591, allocations: 0 / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.3593, allocations: 16.02 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3593, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.3593, allocations: 4 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3594, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 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 6.98e-05/0.3594, allocations: 117.8 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.3595, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.3595, allocations: 7.125 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3595, allocations: 4 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3595, allocations: 4 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3595, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3597, allocations: 157.6 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3597, allocations: 3.984 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.3598, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3598, allocations: 4 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3598, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3598, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3598, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.36, allocations: 167.4 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.3601, allocations: 81.06 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3601, allocations: 3.984 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.3602, allocations: 8 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3602, allocations: 7.984 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3602, allocations: 7.938 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.3603, allocations: 87.48 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3603, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002139/0.3605, allocations: 3.938 kB / 1.17 GB, free: 2.871 MB / 0.92 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.0006663/0.3612, allocations: 0.7007 MB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3614, allocations: 35.95 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3614, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.3615, allocations: 15.98 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3618, allocations: 4 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.3623, allocations: 131.2 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3626, allocations: 0.6806 MB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.3627, allocations: 3.938 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.3627, allocations: 11.44 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.3627, allocations: 0 / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.3816, allocations: 1.265 MB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.134, allocations: 7.938 kB / 1.173 GB, free: 4 kB / 0.92 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/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