Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_latest_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.008364/0.008364, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.00195/0.00195, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 3.017/3.017, allocations: 469.4 MB / 0.7421 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001607, allocations: 67.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3486, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001949/0.3506, allocations: 0.675 MB / 1.22 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.3516, allocations: 0.798 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.3516, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.3517, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.3517, allocations: 7.938 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.3519, allocations: 7.984 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.768e-05/0.352, allocations: 27.92 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3521, allocations: 4 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.3522, allocations: 11.92 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.3522, allocations: 11.98 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3522, allocations: 4 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.3523, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.3523, allocations: 7.938 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3523, allocations: 4 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.3524, allocations: 27.89 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3524, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3524, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3524, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 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.0004572/0.3529, allocations: 335.5 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.353, allocations: 12.03 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.353, allocations: 42.67 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.353, allocations: 4.891 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3531, allocations: 168.3 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3532, allocations: 4.375 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.3532, allocations: 384 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3534, allocations: 50.23 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3534, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3534, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3534, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3536, allocations: 35.95 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.3539, allocations: 256.8 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.354, allocations: 38.5 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.3541, allocations: 24.89 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3541, allocations: 4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3542, allocations: 34.56 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3542, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.3545, allocations: 81.58 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.3546, allocations: 55.41 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.3546, allocations: 93.86 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3547, allocations: 25.7 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.3547, allocations: 92.22 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3547, allocations: 11.94 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.3548, allocations: 9.719 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.3549, allocations: 318.8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.3549, allocations: 11.98 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.355, allocations: 11.98 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3552, allocations: 48.88 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3552, allocations: 3.938 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.3554, allocations: 69.59 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3554, allocations: 5.25 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3554, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3554, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.3555, allocations: 12.03 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3555, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.3556, allocations: 7.984 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3556, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 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.327e-05/0.3557, allocations: 110.3 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3557, allocations: 4 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.3557, allocations: 11.11 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3557, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3558, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3558, allocations: 4.188 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.3559, allocations: 157.6 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3559, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.356, allocations: 19.97 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.356, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.356, allocations: 3.938 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.356, allocations: 3.938 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.356, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.3563, allocations: 167.5 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3563, allocations: 85.06 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3563, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.3564, allocations: 11.92 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3565, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3565, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.3565, allocations: 87.27 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3565, allocations: 4.031 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002185/0.3567, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 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.0005308/0.3573, allocations: 0.6957 MB / 1.224 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3575, allocations: 40 kB / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3575, allocations: 0 / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.3576, allocations: 19.97 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3579, allocations: 4 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.3583, allocations: 138.9 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.3585, allocations: 0.6808 MB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.3585, allocations: 4 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.3586, allocations: 7.438 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3586, allocations: 0 / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.3754, allocations: 1.285 MB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.791, allocations: 9.312 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches