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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001265/0.001265, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.292/2.292, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 55.91 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4666, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002316/0.469, allocations: 1.595 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005388/0.4695, allocations: 446.9 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.4695, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.4696, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.4696, allocations: 7.938 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.4698, allocations: 15.98 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.4699, allocations: 43.8 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.4699, allocations: 23.97 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.47, allocations: 19.92 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.4701, allocations: 15.92 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.4701, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.4701, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.4701, allocations: 11.92 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.4702, allocations: 19.86 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.176e-05/0.4702, allocations: 35.89 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4702, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.81e-07/0.4702, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.836e-06/0.4702, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 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.000393/0.4706, allocations: 357.7 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.4707, allocations: 8.031 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.4707, allocations: 38.75 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.4707, allocations: 4.844 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.4708, allocations: 176.2 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4709, allocations: 8.359 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.4709, allocations: 4.375 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.4711, allocations: 73.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.4711, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.4711, allocations: 3.938 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4711, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.4713, allocations: 47.94 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.4716, allocations: 296.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.4719, allocations: 62.53 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.472, allocations: 24.91 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.472, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.4721, allocations: 34.56 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.4721, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003238/0.4724, allocations: 85.59 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.4724, allocations: 55.41 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.4725, allocations: 121.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.4725, allocations: 25.7 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.4726, allocations: 96.05 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.4726, allocations: 7.844 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.4726, allocations: 21.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.4727, allocations: 318.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.4728, allocations: 15.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.4729, allocations: 15.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.473, allocations: 48.77 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.473, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001926/0.4732, allocations: 69.56 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.4732, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.4732, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.4733, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.4733, allocations: 8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4733, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.4734, allocations: 11.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4734, allocations: 7.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 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 6.04e-05/0.4735, allocations: 106.4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.4735, allocations: 7.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.4735, allocations: 11.89 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.4736, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4736, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.4736, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.4737, allocations: 169.6 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4737, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.4738, allocations: 11.98 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4738, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.4738, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4738, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4738, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.4741, allocations: 179.6 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.4741, allocations: 85.02 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.4741, allocations: 4.047 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.4742, allocations: 7.969 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.4742, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.4742, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.4743, allocations: 99.2 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.553e-06/0.4743, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002041/0.4745, allocations: 7.938 kB / 1.022 GB, free: 13.53 MB / 0.7794 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.0004188/0.4749, allocations: 0.693 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.4751, allocations: 35.97 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.4751, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.4752, allocations: 31.92 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4755, allocations: 11.92 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.4767, allocations: 1.362 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.4769, allocations: 0.6848 MB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.477, allocations: 4.25 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.477, allocations: 15.42 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.477, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/0.6166, allocations: 1.337 MB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.6167, allocations: 204.6 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.18, allocations: 4 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches