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.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005056/0.005056, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001341/0.001341, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 59.91 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.757, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002818/0.7599, allocations: 1.537 MB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.7606, allocations: 446.9 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.7607, allocations: 4 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.7607, allocations: 3.938 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.7608, allocations: 7.938 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.761, allocations: 19.92 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.806e-05/0.7611, allocations: 51.83 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/0.7612, allocations: 19.98 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.7613, allocations: 27.86 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.7613, allocations: 19.92 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.7614, allocations: 4 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.7614, allocations: 4 kB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.7614, allocations: 11.92 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.7614, allocations: 23.86 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.7615, allocations: 38.56 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7616, allocations: 0 / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7616, allocations: 0 / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.7616, allocations: 0 / 1.168 GB, free: 1.551 MB / 0.8887 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.0005588/0.7621, allocations: 372.2 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7622, allocations: 12.92 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.7622, allocations: 38.75 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.7623, allocations: 8.891 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.7624, allocations: 172.3 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.7624, allocations: 4.312 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.7625, allocations: 4.375 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.7627, allocations: 65.78 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7627, allocations: 0 / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7627, allocations: 8 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.7627, allocations: 4 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.7629, allocations: 35.97 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.7634, allocations: 300.7 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.7637, allocations: 70.52 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.7638, allocations: 20.91 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.7638, allocations: 4 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.7639, allocations: 30.56 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7639, allocations: 3.938 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003713/0.7642, allocations: 85.59 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.7643, allocations: 55.41 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.7644, allocations: 121.8 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.7645, allocations: 25.7 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.7645, allocations: 92.09 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.7645, allocations: 7.953 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.7646, allocations: 17.7 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7647, allocations: 318.8 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.7648, allocations: 19.98 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.7649, allocations: 15.98 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.7651, allocations: 36.83 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7651, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002339/0.7653, allocations: 77.56 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7654, allocations: 4 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7654, allocations: 7.938 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7654, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.7655, allocations: 11.98 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.7655, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.7656, allocations: 7.984 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.7656, allocations: 3.938 kB / 1.17 GB, free: 15.3 MB / 0.9044 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 8.336e-05/0.7657, allocations: 113.8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.7657, allocations: 3.953 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.7657, allocations: 15.91 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7657, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.7657, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7657, allocations: 3.984 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.7659, allocations: 181.6 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.766, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.766, allocations: 7.984 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.766, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.7661, allocations: 3.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7661, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7661, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.7663, allocations: 171.4 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.7664, allocations: 81.11 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.7664, allocations: 384 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.7665, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.7665, allocations: 3.984 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.7666, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.7666, allocations: 103.2 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7666, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002194/0.7669, allocations: 15.94 kB / 1.171 GB, free: 14.49 MB / 0.9044 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.0005734/0.7674, allocations: 0.7007 MB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.7677, allocations: 39.97 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7677, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/0.7678, allocations: 23.92 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.7681, allocations: 4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.7698, allocations: 1.351 MB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.7701, allocations: 0.6807 MB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.7702, allocations: 4 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.7702, allocations: 15.42 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7702, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.7927, allocations: 1.516 MB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.068, allocations: 10.36 kB / 1.175 GB, free: 10.11 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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