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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006659/0.006659, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001424/0.001424, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 59.91 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002001/1.006, allocations: 0.6646 MB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009061/1.007, allocations: 0.804 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/1.007, allocations: 0 / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/1.007, allocations: 3.938 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/1.007, allocations: 7.984 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/1.007, allocations: 11.94 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.978e-05/1.007, allocations: 15.98 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/1.007, allocations: 8 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/1.007, allocations: 11.92 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/1.007, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/1.007, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/1.007, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/1.007, allocations: 11.97 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/1.007, allocations: 15.88 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.52e-05/1.007, allocations: 23.91 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.007, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.322e-06/1.007, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.379e-06/1.007, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 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.0004244/1.008, allocations: 337.7 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.008, allocations: 12.03 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/1.008, allocations: 34.75 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/1.008, allocations: 0.9375 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/1.008, allocations: 172.4 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/1.008, allocations: 4.375 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/1.008, allocations: 384 / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/1.008, allocations: 50.23 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.008, allocations: 3.938 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/1.008, allocations: 3.938 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.008, allocations: 0 / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/1.008, allocations: 35.91 kB / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/1.009, allocations: 249 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/1.009, allocations: 42.5 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/1.009, allocations: 24.91 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/1.009, allocations: 0 / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.009, allocations: 42.48 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.009, allocations: 3.938 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/1.009, allocations: 81.56 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.009, allocations: 51.41 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/1.01, allocations: 97.84 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.01, allocations: 29.7 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/1.01, allocations: 88.27 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/1.01, allocations: 7.844 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/1.01, allocations: 13.7 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.01, allocations: 318.8 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/1.01, allocations: 11.98 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/1.01, allocations: 15.98 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/1.01, allocations: 48.81 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.01, allocations: 3.938 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001758/1.01, allocations: 61.67 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.01, allocations: 4 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.01, allocations: 0 / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.01, allocations: 3.984 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/1.01, allocations: 12.03 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/1.01, allocations: 3.984 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/1.011, allocations: 7.984 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/1.011, allocations: 0 / 1.211 GB, free: 9.91 MB / 0.9356 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 7.455e-05/1.011, allocations: 113.8 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.011, allocations: 4 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/1.011, allocations: 3.125 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.011, allocations: 0 / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.011, allocations: 3.938 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.011, allocations: 7.984 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/1.011, allocations: 157.6 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/1.011, allocations: 4 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/1.011, allocations: 7.984 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.011, allocations: 0 / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/1.011, allocations: 0 / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.011, allocations: 4 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.011, allocations: 0 / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/1.011, allocations: 175.3 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/1.011, allocations: 81.3 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/1.011, allocations: 3.938 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/1.011, allocations: 7.984 kB / 1.211 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/1.011, allocations: 3.984 kB / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/1.011, allocations: 0 / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.783e-05/1.011, allocations: 83.28 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.282e-06/1.011, allocations: 4.031 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002128/1.012, allocations: 7.938 kB / 1.211 GB, free: 9.156 MB / 0.9356 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.000522/1.012, allocations: 0.6968 MB / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001879/1.012, allocations: 36 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.012, allocations: 0 / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/1.012, allocations: 27.91 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/1.013, allocations: 0 / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/1.013, allocations: 143.1 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/1.014, allocations: 0.6808 MB / 1.213 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.705e-05/1.014, allocations: 3.906 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/1.014, allocations: 11.44 kB / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/1.014, allocations: 0 / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/1.033, allocations: 1.268 MB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.636, allocations: 10.48 kB / 1.214 GB, free: 6.277 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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