Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_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.001125/0.001124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.2 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 63.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.5752, allocations: 140.4 MB / 0.9497 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00227/0.5775, allocations: 1.519 MB / 0.9512 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.5781, allocations: 448 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.5781, allocations: 0 / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.5782, allocations: 9.016 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.5782, allocations: 5 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.5784, allocations: 21.25 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.5785, allocations: 44.73 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.5786, allocations: 24.47 kB / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.5787, allocations: 23.27 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.5787, allocations: 26.47 kB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.5787, allocations: 2.781 kB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.5788, allocations: 4.406 kB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.5788, allocations: 13.3 kB / 0.9518 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.5788, allocations: 16.22 kB / 0.9518 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.387e-05/0.5789, allocations: 49.88 kB / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5789, allocations: 0 / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5789, allocations: 0 / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.5789, allocations: 0 / 0.9518 GB, free: 7.543 MB / 0.7169 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.000397/0.5793, allocations: 367.4 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.5794, allocations: 9.688 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.372e-05/0.5794, allocations: 31.66 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.5794, allocations: 8.188 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.844e-05/0.5795, allocations: 179.2 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5795, allocations: 5.312 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.5795, allocations: 11.55 kB / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.5797, allocations: 63.48 kB / 0.9525 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5797, allocations: 0 / 0.9525 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.5797, allocations: 0 / 0.9525 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5797, allocations: 1.062 kB / 0.9525 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.5799, allocations: 39.91 kB / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.5802, allocations: 302.3 kB / 0.9528 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.5806, allocations: 58.77 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.5807, allocations: 29.47 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.5807, allocations: 4 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.5807, allocations: 31.75 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5807, allocations: 0 / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003478/0.581, allocations: 91.48 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.5811, allocations: 52.75 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.5811, allocations: 116.8 kB / 0.9532 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.5812, allocations: 34.83 kB / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.5812, allocations: 86.73 kB / 0.9533 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.5812, allocations: 25.11 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.5812, allocations: 12.25 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.5813, allocations: 320.1 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/0.5814, allocations: 17.23 kB / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.5815, allocations: 13.73 kB / 0.9537 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5816, allocations: 44.42 kB / 0.9537 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5816, allocations: 0 / 0.9537 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001929/0.5818, allocations: 75.72 kB / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5818, allocations: 5.75 kB / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.5818, allocations: 0 / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5819, allocations: 1.125 kB / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.5819, allocations: 11.08 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.582, allocations: 0 / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.582, allocations: 11.31 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.582, allocations: 5.062 kB / 0.9538 GB, free: 5.578 MB / 0.7169 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 4.273e-05/0.5821, allocations: 111.9 kB / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.5821, allocations: 3.156 kB / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.5821, allocations: 9.328 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5821, allocations: 1.531 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5822, allocations: 4 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5822, allocations: 0 / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.5823, allocations: 180.1 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5823, allocations: 0 / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.5824, allocations: 14.95 kB / 0.9541 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5824, allocations: 3.938 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5824, allocations: 1.531 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.5824, allocations: 0 / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5824, allocations: 0 / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.5826, allocations: 177.1 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.5826, allocations: 79.7 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.5827, allocations: 0 / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.5827, allocations: 7.672 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.5828, allocations: 1.312 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5828, allocations: 5.594 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.5828, allocations: 96.3 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5828, allocations: 1.281 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002182/0.5831, allocations: 9.219 kB / 0.9545 GB, free: 4.863 MB / 0.7169 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.0003573/0.5834, allocations: 0.6997 MB / 0.9552 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.5836, allocations: 38.06 kB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5836, allocations: 1.156 kB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.5837, allocations: 31.69 kB / 0.9552 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.584, allocations: 6.125 kB / 0.9553 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.5852, allocations: 1.337 MB / 0.9566 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.5853, allocations: 0.6841 MB / 0.9572 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.5854, allocations: 2.5 kB / 0.9572 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.5854, allocations: 21.92 kB / 0.9572 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5854, allocations: 0 / 0.9572 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.6017, allocations: 1.489 MB / 0.9587 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.792, allocations: 5.328 kB / 0.9587 GB, free: 1.316 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches