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.001426/0.001426, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001597/0.001597, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.438/2.438, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.08 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6309, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001918/0.6329, allocations: 0.724 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.6337, allocations: 0.8001 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.6338, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.6338, allocations: 4 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.6339, allocations: 3.938 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.634, allocations: 11.98 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.582e-05/0.6341, allocations: 23.92 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.6342, allocations: 4 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.6342, allocations: 11.94 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.6343, allocations: 3.984 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.6343, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.6343, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.6343, allocations: 19.92 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.381e-05/0.6343, allocations: 7.984 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.606e-05/0.6344, allocations: 23.91 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.6344, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6344, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6344, allocations: 0 / 1.019 GB, free: 1.023 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.0003909/0.6348, allocations: 337.7 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6349, allocations: 8.031 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.6349, allocations: 34.69 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.6349, allocations: 8.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.993e-05/0.635, allocations: 164.3 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.6351, allocations: 384 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.6351, allocations: 384 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.6352, allocations: 54.17 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6352, allocations: 3.938 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.6353, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6353, allocations: 7.984 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.6354, allocations: 35.95 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.6357, allocations: 240.9 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.6358, allocations: 46.47 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.6359, allocations: 24.91 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.636, allocations: 7.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.636, allocations: 34.56 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.636, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003133/0.6363, allocations: 81.64 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.6363, allocations: 51.41 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.6364, allocations: 106 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.6364, allocations: 29.64 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.6365, allocations: 84.14 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.6365, allocations: 7.844 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.6365, allocations: 17.72 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.6366, allocations: 310.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.6367, allocations: 15.97 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.6368, allocations: 19.98 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.6369, allocations: 36.83 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6369, allocations: 3.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/0.6371, allocations: 65.66 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.6371, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6372, allocations: 4.094 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.6372, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.6373, allocations: 15.92 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6373, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.6373, allocations: 7.984 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.6373, allocations: 0 / 1.02 GB, free: 14.96 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.576e-05/0.6374, allocations: 118.3 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.6374, allocations: 3.906 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.6375, allocations: 7.125 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6375, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6375, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.6375, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.6376, allocations: 173.5 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6376, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.6377, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6377, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.6377, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6377, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6377, allocations: 3.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.6379, allocations: 171.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.638, allocations: 81.09 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.638, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.6381, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.6381, allocations: 7.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.6381, allocations: 4.031 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.6382, allocations: 79.28 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6382, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002048/0.6384, allocations: 4 kB / 1.021 GB, free: 14.21 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.0004689/0.6388, allocations: 0.7007 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.639, allocations: 39.89 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6391, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.6391, allocations: 19.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.6394, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.6398, allocations: 137.6 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.64, allocations: 0.6768 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.64, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.6401, allocations: 15.44 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6401, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.6508, allocations: 1.115 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.651, allocations: 199.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.319, allocations: 4 kB / 1.024 GB, free: 11.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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