Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001858/0.001858, allocations: 106.8 kB / 16.45 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.00204/0.00204, allocations: 191.8 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.58/2.58, allocations: 443.5 MB / 0.7287 GB, free: 13.39 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.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 67.91 kB / 1.056 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7836/0.7859, allocations: 160.7 MB / 1.213 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001948/0.7878, allocations: 0.6673 MB / 1.214 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000947/0.7888, allocations: 0.8068 MB / 1.214 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.7888, allocations: 0 / 1.214 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.7888, allocations: 5.062 kB / 1.214 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.7889, allocations: 4 kB / 1.214 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.789, allocations: 10.14 kB / 1.214 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.7891, allocations: 20.66 kB / 1.214 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.7892, allocations: 10.86 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.073e-05/0.7892, allocations: 6.938 kB / 1.214 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.7893, allocations: 11.11 kB / 1.214 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.7893, allocations: 2.156 kB / 1.214 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.7893, allocations: 2.188 kB / 1.214 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.7893, allocations: 11.92 kB / 1.214 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.7893, allocations: 2.281 kB / 1.214 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.096e-05/0.7894, allocations: 30.06 kB / 1.215 GB, free: 2.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7894, allocations: 8.812 kB / 1.215 GB, free: 2.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7894, allocations: 0 / 1.215 GB, free: 2.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7894, allocations: 0 / 1.215 GB, free: 2.738 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004661/0.7899, allocations: 336.7 kB / 1.215 GB, free: 2.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7899, allocations: 10.53 kB / 1.215 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.79, allocations: 32.03 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.995e-05/0.79, allocations: 2.156 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.7901, allocations: 169 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7901, allocations: 5.094 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.7902, allocations: 1.281 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.7903, allocations: 49.61 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7903, allocations: 5.031 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.7903, allocations: 0 / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7904, allocations: 1 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.7905, allocations: 41.61 kB / 1.215 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.7908, allocations: 249.4 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.791, allocations: 42.84 kB / 1.215 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.7911, allocations: 25.64 kB / 1.215 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.7911, allocations: 0.9062 kB / 1.215 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.7911, allocations: 31.62 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7911, allocations: 4 kB / 1.215 GB, free: 1.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003484/0.7915, allocations: 84.11 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.7915, allocations: 52.47 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.7916, allocations: 95.33 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.7916, allocations: 25.7 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.7916, allocations: 89.34 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.7917, allocations: 9.078 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.7917, allocations: 11.97 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7918, allocations: 319.9 kB / 1.216 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.7919, allocations: 13.52 kB / 1.216 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.792, allocations: 21.25 kB / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.7921, allocations: 43.7 kB / 1.216 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7921, allocations: 3.938 kB / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.7923, allocations: 68.86 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7923, allocations: 4.656 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.7924, allocations: 0 / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7924, allocations: 1.188 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.7925, allocations: 9.359 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.7925, allocations: 5.344 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.7925, allocations: 2.719 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.7925, allocations: 1.031 kB / 1.216 GB, free: 0.8789 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 (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 9.253e-05/0.7926, allocations: 119.9 kB / 1.216 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.7926, allocations: 1.125 kB / 1.216 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.7929, allocations: 69.88 kB / 1.216 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.7929, allocations: 5.281 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7929, allocations: 0 / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7929, allocations: 5.109 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.7931, allocations: 158 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7931, allocations: 0 / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.7931, allocations: 10.67 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7931, allocations: 0 / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.7931, allocations: 3.938 kB / 1.217 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7931, allocations: 1.344 kB / 1.217 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7931, allocations: 0 / 1.217 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.7934, allocations: 170.6 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.7934, allocations: 82 kB / 1.217 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.7935, allocations: 5.047 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.7935, allocations: 3.219 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.7936, allocations: 2.125 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.7936, allocations: 8.031 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.006e-05/0.7936, allocations: 87.23 kB / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.7936, allocations: 0 / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002134/0.7938, allocations: 3.25 kB / 1.217 GB, free: 132 kB / 0.92 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.0006657/0.7945, allocations: 0.6953 MB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.7947, allocations: 41.23 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7947, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.7948, allocations: 18.89 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.7952, allocations: 15.55 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.7956, allocations: 143.6 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.796, allocations: 0.6769 MB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.796, allocations: 1.438 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.796, allocations: 12.5 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/0.796, allocations: 0 / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.8183, allocations: 1.262 MB / 1.22 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.691, allocations: 19.95 kB / 1.22 GB, free: 13.81 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.611933296080679]