Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_11_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.004226/0.004226, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001232/0.001232, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2676, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002504/0.2702, allocations: 1.534 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.2708, allocations: 431 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.2709, allocations: 0 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2709, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.271, allocations: 11.86 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.2712, allocations: 27.97 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.2713, allocations: 47.78 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.2713, allocations: 16 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.2715, allocations: 23.92 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.2715, allocations: 19.91 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2715, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.2715, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.2716, allocations: 15.92 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.2716, allocations: 19.88 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.304e-05/0.2717, allocations: 39.77 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2717, allocations: 3.938 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2717, allocations: 4 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2717, allocations: 7.922 kB / 1.222 GB, free: 12.12 MB / 0.9825 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.0005042/0.2722, allocations: 367.3 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2723, allocations: 8.031 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.2723, allocations: 30.75 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.2724, allocations: 8.891 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2725, allocations: 172.3 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2725, allocations: 4.375 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2725, allocations: 8.375 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2727, allocations: 65.73 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2727, allocations: 0 / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2728, allocations: 4 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2728, allocations: 0 / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.273, allocations: 39.97 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.2734, allocations: 300.7 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.2737, allocations: 62.48 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2739, allocations: 24.91 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2739, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2739, allocations: 34.56 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2739, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003784/0.2743, allocations: 93.59 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2744, allocations: 55.34 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.2745, allocations: 117.8 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2745, allocations: 25.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.2745, allocations: 96.12 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.2746, allocations: 12.02 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2746, allocations: 13.72 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2747, allocations: 322.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.2748, allocations: 15.98 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.2749, allocations: 20.17 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.2751, allocations: 36.92 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2751, allocations: 7.938 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002253/0.2754, allocations: 73.61 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2754, allocations: 7.938 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.2754, allocations: 0 / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2754, allocations: 4 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.2755, allocations: 7.984 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.2755, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.2756, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2756, allocations: 11.88 kB / 1.224 GB, free: 9.875 MB / 0.9825 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.032e-05/0.2757, allocations: 117.8 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.2757, allocations: 7.953 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.2757, allocations: 7.906 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2757, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2758, allocations: 4 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2758, allocations: 4 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.276, allocations: 177.5 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.276, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.276, allocations: 8 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2761, allocations: 4 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2761, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2761, allocations: 3.984 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2761, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.2764, allocations: 171.4 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.2764, allocations: 77.11 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2764, allocations: 3.984 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.2765, allocations: 12 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.2766, allocations: 0 / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.2766, allocations: 4 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.209e-05/0.2766, allocations: 95.2 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2766, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002298/0.2769, allocations: 8 kB / 1.225 GB, free: 9.082 MB / 0.9825 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.0005663/0.2775, allocations: 0.7012 MB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2777, allocations: 43.95 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2777, allocations: 3.938 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.604e-05/0.2778, allocations: 15.98 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2781, allocations: 13.72 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2796, allocations: 1.358 MB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2799, allocations: 0.6885 MB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.28, allocations: 3.984 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.28, allocations: 19.44 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.28, allocations: 0 / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3005, allocations: 1.502 MB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.659, allocations: 25.55 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches