Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.001681/0.001681, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.002035/0.002035, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.541/2.541, allocations: 443.5 MB / 0.7287 GB, free: 13.19 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.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.89 kB / 1.056 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7626, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003304/0.7659, allocations: 1.529 MB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.7667, allocations: 453.4 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.7668, allocations: 0 / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.7668, allocations: 4.781 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.7668, allocations: 4.625 kB / 1.215 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.7671, allocations: 21.52 kB / 1.215 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.481e-05/0.7672, allocations: 44.88 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.7673, allocations: 17.55 kB / 1.215 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.7674, allocations: 30.92 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.7675, allocations: 22.28 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.7675, allocations: 3.375 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.7675, allocations: 4.5 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.7675, allocations: 9.062 kB / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.7675, allocations: 24.2 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.7677, allocations: 42.95 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7677, allocations: 0.8125 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7677, allocations: 0 / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.7677, allocations: 0.75 kB / 1.215 GB, free: 2.152 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005762/0.7683, allocations: 365.1 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.7683, allocations: 9.531 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.7683, allocations: 35.83 kB / 1.215 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.7684, allocations: 12.7 kB / 1.215 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.7685, allocations: 178.6 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.7686, allocations: 1.812 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.7686, allocations: 2.938 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.7688, allocations: 71.94 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7688, allocations: 0 / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7688, allocations: 4 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7688, allocations: 0.9688 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.769, allocations: 43.42 kB / 1.216 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.7695, allocations: 294.2 kB / 1.216 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.7698, allocations: 63.02 kB / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.7699, allocations: 22.31 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.7699, allocations: 5.047 kB / 1.216 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7699, allocations: 39.53 kB / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7699, allocations: 0 / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003617/0.7703, allocations: 83.34 kB / 1.216 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.7703, allocations: 52.66 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.7704, allocations: 121.4 kB / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.7705, allocations: 29.69 kB / 1.216 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.7705, allocations: 94.34 kB / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.7705, allocations: 5.078 kB / 1.216 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.7706, allocations: 21.19 kB / 1.217 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7707, allocations: 319.9 kB / 1.217 GB, free: 304 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.7708, allocations: 18.02 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.7709, allocations: 18.11 kB / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.771, allocations: 39.3 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.771, allocations: 1.406 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002062/0.7712, allocations: 73.89 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7713, allocations: 5.469 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7713, allocations: 3.984 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7713, allocations: 0.9375 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.7714, allocations: 11.42 kB / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7714, allocations: 0 / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.7714, allocations: 11.11 kB / 1.217 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.7714, allocations: 5.062 kB / 1.217 GB, free: 188 kB / 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 9.116e-05/0.7715, allocations: 116.3 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.7715, allocations: 6.047 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.7716, allocations: 10.25 kB / 1.217 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7716, allocations: 3.938 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7716, allocations: 1.094 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7716, allocations: 4 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.7718, allocations: 179.2 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7718, allocations: 0 / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.7719, allocations: 15.52 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7719, allocations: 0 / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.7719, allocations: 5.125 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7719, allocations: 0 / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7719, allocations: 1.062 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.7722, allocations: 168.9 kB / 1.217 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.7722, allocations: 79.3 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.7722, allocations: 4 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.7723, allocations: 7.438 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.7723, allocations: 5.141 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.7723, allocations: 1.125 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.7724, allocations: 101.4 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7724, allocations: 0 / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002187/0.7726, allocations: 6.312 kB / 1.218 GB, free: 15.46 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.0005868/0.7732, allocations: 0.6998 MB / 1.218 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.7734, allocations: 37.75 kB / 1.218 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7734, allocations: 0.75 kB / 1.218 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.7735, allocations: 23.58 kB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.7738, allocations: 2.188 kB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.7754, allocations: 1.359 MB / 1.22 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.7758, allocations: 0.6846 MB / 1.22 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.7758, allocations: 2.312 kB / 1.22 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.7759, allocations: 18.14 kB / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of SimCode: time 4.7e-07/0.7759, allocations: 0 / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.8003, allocations: 1.532 MB / 1.222 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.98, allocations: 7.484 kB / 1.222 GB, free: 11.9 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.803917028009892]