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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 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.001621/0.001621, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.523/2.523, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.627, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001987/0.6291, allocations: 0.6649 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.63, allocations: 0.804 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.6301, allocations: 3.938 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.6301, allocations: 3.938 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.6302, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.6303, allocations: 11.94 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.6304, allocations: 19.98 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.6305, allocations: 8 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.6306, allocations: 19.91 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.6307, allocations: 7.984 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.6307, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.6307, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.6307, allocations: 11.88 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.6307, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.015e-05/0.6308, allocations: 19.91 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6308, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6308, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.6309, allocations: 4 kB / 1.019 GB, free: 0.9102 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.0004432/0.6313, allocations: 333.7 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.6314, allocations: 12.03 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.6314, allocations: 30.75 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.6314, allocations: 8.922 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6316, allocations: 164.3 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6316, allocations: 384 / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.6316, allocations: 4.375 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.6318, allocations: 46.23 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6318, allocations: 11.92 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6318, allocations: 0 / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6318, allocations: 4 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.632, allocations: 31.91 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.6323, allocations: 249 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.6325, allocations: 42.5 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.6326, allocations: 24.91 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.6326, allocations: 7.922 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6326, allocations: 30.56 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.6326, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003462/0.633, allocations: 81.59 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.6331, allocations: 59.52 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.6331, allocations: 101.9 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.6332, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.6332, allocations: 80.14 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.6332, allocations: 7.844 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.6333, allocations: 21.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.6334, allocations: 310.8 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.6335, allocations: 19.92 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.6335, allocations: 19.98 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.6337, allocations: 44.75 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6337, allocations: 3.938 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.6339, allocations: 65.73 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6339, allocations: 7.984 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6339, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.6339, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.634, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.634, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.6341, allocations: 7.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.6341, allocations: 0 / 1.021 GB, free: 14.85 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 6.896e-05/0.6342, allocations: 117.8 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.6342, allocations: 7.906 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.6342, allocations: 3.125 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6343, allocations: 3.984 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6343, allocations: 8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6343, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.6344, allocations: 161.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6344, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.6345, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.6345, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.6345, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.6345, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6345, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.6348, allocations: 167.4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.6348, allocations: 77.11 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.6348, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.6349, allocations: 12.02 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.6349, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.6349, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.453e-05/0.635, allocations: 79.27 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.635, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002101/0.6352, allocations: 0 / 1.021 GB, free: 14.1 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.0005288/0.6357, allocations: 0.7048 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.6359, allocations: 31.97 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.636, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.636, allocations: 32 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.6363, allocations: 9.656 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.6368, allocations: 131.3 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.637, allocations: 0.6768 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.6371, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.6371, allocations: 11.44 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6371, allocations: 64 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.6531, allocations: 1.233 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.636, allocations: 10.92 kB / 1.024 GB, free: 11.24 MB / 0.7794 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