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.0009157/0.0009157, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008785/0.0008785, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9377/0.9377, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.825/1.825, allocations: 389 MB / 0.633 GB, free: 12.71 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.563e-06/1.563e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.13e-05, allocations: 8.953 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002097/0.002118, allocations: 1.53 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006392/0.002757, allocations: 479.6 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.002813, allocations: 11.81 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.002846, allocations: 3.938 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.002887, allocations: 8 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.003136, allocations: 39.83 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003238, allocations: 47.78 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.003337, allocations: 8 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.003477, allocations: 43.89 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.003505, allocations: 11.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.00352, allocations: 4 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.003557, allocations: 15.94 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.00357, allocations: 11.91 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.003592, allocations: 12 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.003701, allocations: 55.8 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.003704, allocations: 4 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003705, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.003708, allocations: 0 / 1.002 GB, free: 11.27 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.0003686/0.004077, allocations: 282.2 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004113, allocations: 12.75 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.004141, allocations: 34.75 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.00423, allocations: 16.88 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.004384, allocations: 129.7 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.004402, allocations: 4.375 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.004411, allocations: 4.375 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.004542, allocations: 66.22 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004549, allocations: 192 / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004558, allocations: 4.125 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004563, allocations: 4 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.004661, allocations: 39.97 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.004978, allocations: 267.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.005172, allocations: 58.55 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.005224, allocations: 24.91 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.005236, allocations: 0 / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.005254, allocations: 42.42 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.005254, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002229/0.005477, allocations: 89.66 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005505, allocations: 51.41 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.005574, allocations: 122.1 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.005583, allocations: 25.7 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.00562, allocations: 100 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.005633, allocations: 3.953 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.00566, allocations: 17.7 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003008/0.00596, allocations: 318.8 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.00601, allocations: 19.98 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.006051, allocations: 19.98 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.006137, allocations: 40.77 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006139, allocations: 0 / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001159/0.006255, allocations: 73.62 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.006267, allocations: 5.562 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006271, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.006281, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.006322, allocations: 15.98 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.006327, allocations: 3.984 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.006356, allocations: 11.92 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.006362, allocations: 0 / 1.004 GB, free: 9.207 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.363e-05/0.006415, allocations: 117.8 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.006429, allocations: 3.953 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.006455, allocations: 12 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006456, allocations: 3.938 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.00646, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.006462, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.00657, allocations: 148.7 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006571, allocations: 0 / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.006604, allocations: 12.31 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.006605, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.006611, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.006611, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006612, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.006761, allocations: 175.4 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.00677, allocations: 11.94 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.00678, allocations: 4 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.00682, allocations: 8 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.006846, allocations: 3.984 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.006849, allocations: 0 / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.006885, allocations: 103.2 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006885, allocations: 0 / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001478/0.007033, allocations: 4 kB / 1.004 GB, free: 8.535 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.0002908/0.007324, allocations: 0.6968 MB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.007449, allocations: 43.97 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.007451, allocations: 0 / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.007496, allocations: 23.92 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.007683, allocations: 6 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.008632, allocations: 1.358 MB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.008674, allocations: 75.23 kB / 1.006 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.008699, allocations: 0 / 1.006 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.008737, allocations: 20.5 kB / 1.006 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.008737, allocations: 0 / 1.006 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.02265, allocations: 2.211 MB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.916, allocations: 2.438 kB / 1.009 GB, free: 4.109 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.067061194218695]