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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001756/0.001756, 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.001885/0.001885, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.408/2.408, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 72.08 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7981, allocations: 140.4 MB / 0.9497 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001932/0.8, allocations: 0.656 MB / 0.9504 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.8008, allocations: 0.7994 MB / 0.9512 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.8008, allocations: 0 / 0.9512 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.8008, allocations: 3.938 kB / 0.9512 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.8009, allocations: 1.094 kB / 0.9512 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.8011, allocations: 17.52 kB / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.8011, allocations: 21.61 kB / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.8012, allocations: 3.875 kB / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.8013, allocations: 14.59 kB / 0.9512 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.8013, allocations: 14.61 kB / 0.9512 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.8014, allocations: 2.75 kB / 0.9512 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.8014, allocations: 1.281 kB / 0.9512 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.8014, allocations: 9.609 kB / 0.9512 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.8014, allocations: 9.766 kB / 0.9513 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.195e-05/0.8015, allocations: 24.28 kB / 0.9513 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8015, allocations: 0 / 0.9513 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8015, allocations: 0 / 0.9513 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.8015, allocations: 0 / 0.9513 GB, free: 8.094 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.0003737/0.8019, allocations: 339.3 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.8019, allocations: 9.344 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.314e-05/0.802, allocations: 36.06 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.05e-05/0.802, allocations: 2.312 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.074e-05/0.8021, allocations: 173.7 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.8021, allocations: 4.375 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.8021, allocations: 1.688 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.8023, allocations: 45.53 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8023, allocations: 7.875 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.8023, allocations: 5.391 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.8023, allocations: 0 / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.8025, allocations: 30.94 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.8027, allocations: 244.3 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.8029, allocations: 43.66 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.803, allocations: 17.81 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.803, allocations: 5.281 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.803, allocations: 39.78 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.803, allocations: 3.938 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000332/0.8034, allocations: 76.33 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.8034, allocations: 51.41 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.014e-05/0.8035, allocations: 103.4 kB / 0.9525 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.8035, allocations: 25.7 kB / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.8035, allocations: 89.55 kB / 0.9526 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.8035, allocations: 8.938 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.8035, allocations: 12.28 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.8036, allocations: 316.2 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.8037, allocations: 16.42 kB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.8038, allocations: 17.36 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.8039, allocations: 47.98 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8039, allocations: 3.938 kB / 0.953 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.8041, allocations: 64.19 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8041, allocations: 6.25 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8041, allocations: 1.406 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8042, allocations: 3.938 kB / 0.9531 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.8043, allocations: 14.64 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8043, allocations: 0 / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.8043, allocations: 7.578 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.8043, allocations: 3.984 kB / 0.9531 GB, free: 6.227 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.704e-05/0.8044, allocations: 117 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.8044, allocations: 4.094 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.8044, allocations: 12.89 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.8044, allocations: 0 / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8045, allocations: 4 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.8045, allocations: 1.406 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.8046, allocations: 164.9 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8046, allocations: 1.156 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.8046, allocations: 5.312 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8047, allocations: 0.9375 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.8047, allocations: 3.984 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8047, allocations: 1.156 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8047, allocations: 0 / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.8049, allocations: 166.8 kB / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.8049, allocations: 82.27 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8049, allocations: 5.219 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.805, allocations: 3.562 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.8051, allocations: 5.016 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.8051, allocations: 5.156 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.8051, allocations: 81.75 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8051, allocations: 1.25 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002163/0.8053, allocations: 7.562 kB / 0.9537 GB, free: 5.527 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.0004205/0.8057, allocations: 0.6951 MB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.806, allocations: 37.92 kB / 0.9544 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.806, allocations: 3.938 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.8061, allocations: 15.11 kB / 0.9545 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.8064, allocations: 7.594 kB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.8068, allocations: 143.3 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.8069, allocations: 0.6768 MB / 0.9553 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.8069, allocations: 2.438 kB / 0.9553 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.807, allocations: 11.42 kB / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.807, allocations: 0 / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.8246, allocations: 1.242 MB / 0.9565 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.765, allocations: 3.859 kB / 0.9565 GB, free: 3.238 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.csv","/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