Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8848/0.8848, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.803/1.803, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.615e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001795/0.001811, allocations: 1.537 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.002429, allocations: 475.6 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.002493, allocations: 3.938 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.002527, allocations: 7.922 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.002569, allocations: 7.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.002813, allocations: 39.83 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.002907, allocations: 39.86 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.003003, allocations: 23.92 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.003154, allocations: 35.89 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.109e-05/0.003185, allocations: 15.92 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.003199, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.003235, allocations: 11.94 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.003248, allocations: 11.97 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.003268, allocations: 11.94 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.003376, allocations: 59.8 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003378, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003379, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.003383, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 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.0003722/0.003755, allocations: 286.2 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.003791, allocations: 8.75 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.003819, allocations: 34.73 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.003902, allocations: 12.89 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.004047, allocations: 125.7 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.004065, allocations: 4.375 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.004077, allocations: 8.375 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.004207, allocations: 62.22 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.004213, allocations: 192 / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.004222, allocations: 8.125 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.004227, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.784e-05/0.004325, allocations: 39.97 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.004631, allocations: 263.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.004825, allocations: 62.55 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.004877, allocations: 24.91 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.00489, allocations: 0 / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.004906, allocations: 38.5 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.004907, allocations: 3.938 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002275/0.005134, allocations: 89.64 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.005161, allocations: 51.41 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.005231, allocations: 120.6 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.005242, allocations: 29.7 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.005278, allocations: 96.08 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.005291, allocations: 3.953 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.005318, allocations: 17.72 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002588/0.005577, allocations: 322.8 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.005632, allocations: 19.98 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.005672, allocations: 19.92 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.00576, allocations: 44.78 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005761, allocations: 0 / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001167/0.005878, allocations: 77.92 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.005889, allocations: 4 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005893, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005904, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.005947, allocations: 11.98 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.005952, allocations: 0 / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.005979, allocations: 15.94 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.005986, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 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 5.671e-05/0.006042, allocations: 117.8 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006057, allocations: 7.953 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.006083, allocations: 8 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006085, allocations: 0 / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.006088, allocations: 3.938 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006091, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.006205, allocations: 144.7 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.006206, allocations: 0 / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.006235, allocations: 12 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006237, allocations: 0 / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006243, allocations: 0 / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006245, allocations: 3.984 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006246, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.006397, allocations: 167.4 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.006408, allocations: 8 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006419, allocations: 3.984 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.006461, allocations: 8 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.006487, allocations: 4 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.00649, allocations: 0 / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.00653, allocations: 95.27 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.1e-08/0.00653, allocations: 7.875 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001474/0.006677, allocations: 8 kB / 1.004 GB, free: 8.52 MB / 0.9636 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.0003064/0.006984, allocations: 0.6968 MB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.007115, allocations: 43.95 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007117, allocations: 0 / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.007162, allocations: 27.86 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.007355, allocations: 4 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.008324, allocations: 1.354 MB / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.008369, allocations: 75.25 kB / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.008395, allocations: 4.266 kB / 1.006 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.008434, allocations: 20.5 kB / 1.006 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.008435, allocations: 0 / 1.006 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.02229, allocations: 2.21 MB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.686, allocations: 3.984 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cheEqu.u1 in file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u1 from file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! Error: Could not read variable cheEqu.u2 in file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u2 from file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.875900829210877]