Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.056 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8799, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002481/0.8824, allocations: 0.7108 MB / 1.214 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.8838, allocations: 0.8017 MB / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.8839, allocations: 1.312 kB / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.8839, allocations: 0 / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.884, allocations: 8.75 kB / 1.214 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.8841, allocations: 14.23 kB / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.8842, allocations: 44.66 kB / 1.215 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.8844, allocations: 19.27 kB / 1.215 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.8845, allocations: 22.59 kB / 1.215 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.8845, allocations: 24.61 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.8846, allocations: 3.938 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.8846, allocations: 4.375 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.8846, allocations: 9.047 kB / 1.215 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.8846, allocations: 15.14 kB / 1.215 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.8848, allocations: 45.86 kB / 1.215 GB, free: 2.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.8848, allocations: 4 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8848, allocations: 0 / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8848, allocations: 0 / 1.215 GB, free: 2.512 MB / 0.92 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.0006611/0.8855, allocations: 367 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.8855, allocations: 10.41 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.8856, allocations: 31.81 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.8856, allocations: 7.109 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.8858, allocations: 170.5 kB / 1.215 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.8858, allocations: 5.438 kB / 1.215 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.8858, allocations: 6.719 kB / 1.215 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.8861, allocations: 70.66 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8861, allocations: 4.938 kB / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.8861, allocations: 0 / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.8861, allocations: 0.8438 kB / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.8864, allocations: 67.55 kB / 1.215 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.8869, allocations: 270.7 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.8872, allocations: 55.97 kB / 1.216 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.8873, allocations: 34.27 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.8873, allocations: 1.094 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.8874, allocations: 39.59 kB / 1.216 GB, free: 1.371 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.8874, allocations: 0 / 1.216 GB, free: 1.371 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000585/0.888, allocations: 125.8 kB / 1.216 GB, free: 1.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.888, allocations: 52.5 kB / 1.216 GB, free: 1.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.8881, allocations: 115.2 kB / 1.216 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.8882, allocations: 26.83 kB / 1.216 GB, free: 1.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.8883, allocations: 89.17 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.8883, allocations: 10.06 kB / 1.216 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.8883, allocations: 15.86 kB / 1.216 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.8885, allocations: 317.1 kB / 1.216 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.8886, allocations: 36.48 kB / 1.216 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.8888, allocations: 37.41 kB / 1.217 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.889, allocations: 71.62 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.889, allocations: 0 / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003182/0.8893, allocations: 102.2 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.8894, allocations: 5 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8894, allocations: 0 / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8894, allocations: 1.125 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.8895, allocations: 13.92 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8895, allocations: 5.328 kB / 1.217 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/0.8896, allocations: 10.36 kB / 1.217 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.8896, allocations: 1.156 kB / 1.217 GB, free: 0.5 MB / 0.92 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 0.0001138/0.8897, allocations: 124.4 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.8898, allocations: 6.172 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.8901, allocations: 109.2 kB / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8901, allocations: 0 / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8901, allocations: 1 kB / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8901, allocations: 4 kB / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.8904, allocations: 169.7 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8904, allocations: 0 / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.8905, allocations: 18.61 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8905, allocations: 0 / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.8905, allocations: 4.969 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8905, allocations: 0 / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8905, allocations: 1 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.8909, allocations: 204.5 kB / 1.217 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.891, allocations: 78.23 kB / 1.217 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.891, allocations: 1.125 kB / 1.217 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.8911, allocations: 13.92 kB / 1.217 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.8912, allocations: 6.266 kB / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.8912, allocations: 1.125 kB / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.8912, allocations: 88.97 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8912, allocations: 1.188 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002238/0.8914, allocations: 5.562 kB / 1.218 GB, free: 15.7 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 (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.0009206/0.8924, allocations: 0.7373 MB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.8927, allocations: 66.08 kB / 1.218 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8927, allocations: 3.938 kB / 1.218 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.8928, allocations: 40.27 kB / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.8932, allocations: 10.83 kB / 1.218 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.8938, allocations: 164.2 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.8942, allocations: 0.6803 MB / 1.219 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.8943, allocations: 1.062 kB / 1.219 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.8943, allocations: 17.66 kB / 1.219 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.8943, allocations: 4 kB / 1.219 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.9223, allocations: 1.631 MB / 1.221 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/9.073, allocations: 10.77 kB / 1.221 GB, free: 13.15 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 14.857943546958268]