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.001788/0.001788, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002219/0.002219, allocations: 220.4 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 3.245/3.245, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 66.5 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3651, allocations: 179 MB / 1.345 GB, free: 4 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003043/0.3682, allocations: 1.537 MB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.3692, allocations: 474.8 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.3692, allocations: 3.938 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.3692, allocations: 3.938 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.3693, allocations: 7.938 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3696, allocations: 39.89 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.3697, allocations: 47.78 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3698, allocations: 12.28 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.37, allocations: 31.91 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.37, allocations: 23.92 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.37, allocations: 7.938 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.232e-05/0.3701, allocations: 7.984 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3701, allocations: 8 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.3701, allocations: 19.86 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3703, allocations: 55.75 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3703, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3703, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3703, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 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.0005852/0.3709, allocations: 298 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3709, allocations: 8.031 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.521e-05/0.371, allocations: 8.172 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.371, allocations: 34.69 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3711, allocations: 16.88 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3714, allocations: 118.5 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3714, allocations: 384 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3714, allocations: 8.359 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3716, allocations: 77.52 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3717, allocations: 8 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3717, allocations: 0 / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3717, allocations: 4 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.3719, allocations: 35.97 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.3724, allocations: 263.8 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.3727, allocations: 66.48 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.737e-05/0.3728, allocations: 20.91 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3728, allocations: 4 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3729, allocations: 34.56 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3729, allocations: 0 / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004102/0.3733, allocations: 89.59 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3733, allocations: 55.34 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3734, allocations: 121 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3735, allocations: 29.7 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.3735, allocations: 96.12 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3736, allocations: 7.906 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.3736, allocations: 17.72 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3738, allocations: 318.8 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3739, allocations: 19.98 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.374, allocations: 15.98 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.3742, allocations: 40.83 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3742, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002313/0.3744, allocations: 73.61 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3744, allocations: 4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3744, allocations: 0 / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3744, allocations: 0 / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.3745, allocations: 15.92 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3745, allocations: 0 / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.3746, allocations: 15.89 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3746, allocations: 3.984 kB / 1.349 GB, free: 11.63 MB / 1.045 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 0.0001114/0.3747, allocations: 113.8 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.3747, allocations: 336 / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.3748, allocations: 15.94 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3748, allocations: 3.984 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3748, allocations: 0 / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3748, allocations: 3.938 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.375, allocations: 144.7 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.375, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.3751, allocations: 8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3751, allocations: 3.984 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3751, allocations: 4 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3751, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3751, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3754, allocations: 171.4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.3754, allocations: 15.94 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.3755, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.3756, allocations: 8 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3756, allocations: 3.984 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.3756, allocations: 3.938 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.188e-05/0.3757, allocations: 95.27 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3757, allocations: 4 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002369/0.3759, allocations: 8 kB / 1.35 GB, free: 10.96 MB / 1.045 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.0006519/0.3766, allocations: 0.6968 MB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.3769, allocations: 39.97 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3769, allocations: 0 / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.377, allocations: 23.98 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3772, allocations: 5.484 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.3791, allocations: 1.36 MB / 1.352 GB, free: 8.727 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.57e-05/0.3792, allocations: 75.11 kB / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.3792, allocations: 7.984 kB / 1.352 GB, free: 8.625 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.3793, allocations: 23.38 kB / 1.352 GB, free: 8.602 MB / 1.045 GB Notification: Performance of SimCode: time 4.9e-07/0.3793, allocations: 0 / 1.352 GB, free: 8.602 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.4024, allocations: 1.714 MB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 11.11 kB / 1.354 GB, free: 7.039 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.90761001908686]