Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 119.6 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002175/0.002175, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.975/2.975, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.91 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 179 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001994/1.078, allocations: 0.7086 MB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009468/1.079, allocations: 0.8307 MB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/1.079, allocations: 0 / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/1.079, allocations: 9.547 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/1.079, allocations: 9.672 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.613e-05/1.079, allocations: 13.83 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.869e-05/1.079, allocations: 43.31 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/1.079, allocations: 12.55 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/1.08, allocations: 18.98 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/1.08, allocations: 22.19 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/1.08, allocations: 3.031 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/1.08, allocations: 4 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/1.08, allocations: 7.031 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/1.08, allocations: 21.08 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/1.08, allocations: 42.88 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.08, allocations: 0.7031 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.08, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.421e-06/1.08, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000493/1.08, allocations: 369.2 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.08, allocations: 10.16 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.634e-05/1.08, allocations: 192 / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.098e-05/1.08, allocations: 36.64 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/1.08, allocations: 3.094 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/1.081, allocations: 176.3 kB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/1.081, allocations: 1.562 kB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/1.081, allocations: 6.594 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/1.081, allocations: 68.27 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.081, allocations: 0 / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/1.081, allocations: 5.188 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.081, allocations: 4 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/1.081, allocations: 63.42 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/1.081, allocations: 274.5 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/1.082, allocations: 61.66 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/1.082, allocations: 39.98 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/1.082, allocations: 0 / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.082, allocations: 32.69 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/1.082, allocations: 0 / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005739/1.082, allocations: 136 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/1.082, allocations: 57.61 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/1.083, allocations: 106.2 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/1.083, allocations: 26.98 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/1.083, allocations: 89.89 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/1.083, allocations: 10.55 kB / 1.343 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/1.083, allocations: 17.7 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/1.083, allocations: 321.5 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/1.083, allocations: 29.67 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.083, allocations: 32.3 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/1.083, allocations: 69.41 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.083, allocations: 2.828 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003202/1.084, allocations: 95.84 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.084, allocations: 6.203 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.084, allocations: 0 / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.084, allocations: 5.344 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/1.084, allocations: 14.75 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.084, allocations: 2.234 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/1.084, allocations: 10.84 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/1.084, allocations: 4.734 kB / 1.344 GB, free: 13.23 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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 5.165e-05/1.084, allocations: 116.7 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/1.084, allocations: 5.938 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/1.084, allocations: 13.77 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.084, allocations: 1.375 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.084, allocations: 0 / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.084, allocations: 0.6094 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/1.084, allocations: 167.9 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.084, allocations: 0 / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/1.084, allocations: 16.36 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.084, allocations: 0 / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/1.084, allocations: 4 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.084, allocations: 9.281 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.084, allocations: 4.797 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/1.085, allocations: 189.6 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/1.085, allocations: 83.58 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/1.085, allocations: 0.7969 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/1.085, allocations: 19.45 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/1.085, allocations: 3.781 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/1.085, allocations: 4 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.07e-05/1.085, allocations: 89.16 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.085, allocations: 0 / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002179/1.085, allocations: 7.188 kB / 1.345 GB, free: 12.55 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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.0005533/1.086, allocations: 0.7304 MB / 1.345 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003612/1.086, allocations: 65.58 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.086, allocations: 4 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.086, allocations: 38.69 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/1.086, allocations: 9.953 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/1.087, allocations: 165.6 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/1.087, allocations: 0.6843 MB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.836e-05/1.087, allocations: 1.375 kB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/1.087, allocations: 14.12 kB / 1.346 GB, free: 10.97 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.087, allocations: 0 / 1.346 GB, free: 10.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/1.106, allocations: 1.672 MB / 1.348 GB, free: 10.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/9.461, allocations: 17.83 kB / 1.348 GB, free: 10.55 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.348106977005955]