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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005518/0.005519, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001276/0.001276, allocations: 200.2 kB / 16.68 MB, free: 5.906 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.84 kB / 1.054 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7677/0.769, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003015/0.772, allocations: 1.527 MB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.7729, allocations: 435 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.7729, allocations: 0 / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.773, allocations: 3.938 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.7731, allocations: 7.875 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.7733, allocations: 35.95 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.7734, allocations: 43.8 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.7736, allocations: 15.98 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.7737, allocations: 27.91 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.7738, allocations: 19.86 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.7738, allocations: 4 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.7738, allocations: 4 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.7738, allocations: 19.92 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.7739, allocations: 19.88 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.774, allocations: 39.88 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.774, allocations: 3.938 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/0.774, allocations: 0 / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.774, allocations: 4 kB / 1.209 GB, free: 11.4 MB / 0.9356 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.0005365/0.7746, allocations: 363.6 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7746, allocations: 8.031 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.7747, allocations: 42.69 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.7747, allocations: 4.922 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7748, allocations: 176.2 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.7749, allocations: 8.375 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.7749, allocations: 384 / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.7751, allocations: 61.8 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.7751, allocations: 4 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.7752, allocations: 0 / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7752, allocations: 0 / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.7754, allocations: 47.91 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.7759, allocations: 292.7 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.7762, allocations: 62.53 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.7763, allocations: 32.84 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.7763, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.7764, allocations: 30.56 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7764, allocations: 0 / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003937/0.7768, allocations: 89.56 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.7768, allocations: 55.39 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.7769, allocations: 121.8 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.7769, allocations: 25.7 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.777, allocations: 92.14 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.777, allocations: 11.83 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.7771, allocations: 13.72 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7772, allocations: 318.8 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.7773, allocations: 19.92 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/0.7774, allocations: 23.98 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.7776, allocations: 36.83 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7776, allocations: 7.875 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000227/0.7778, allocations: 73.56 kB / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7778, allocations: 4 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7778, allocations: 4 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7779, allocations: 0 / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.778, allocations: 11.98 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.778, allocations: 4 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.778, allocations: 0 / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.778, allocations: 11.88 kB / 1.211 GB, free: 9.152 MB / 0.9356 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 7.93e-05/0.7781, allocations: 109.8 kB / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.7782, allocations: 7.906 kB / 1.211 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.7782, allocations: 12.22 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7782, allocations: 0 / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7782, allocations: 4 kB / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7782, allocations: 7.984 kB / 1.211 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.7784, allocations: 173.6 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7784, allocations: 0 / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.7785, allocations: 11.98 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.7785, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.7785, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7785, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7785, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.7788, allocations: 171.5 kB / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.7789, allocations: 84.95 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.7789, allocations: 0 / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.779, allocations: 11.98 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.779, allocations: 4 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.779, allocations: 0 / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.7791, allocations: 95.64 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7791, allocations: 0 / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002367/0.7793, allocations: 12 kB / 1.212 GB, free: 8.355 MB / 0.9356 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.0005314/0.7799, allocations: 0.6929 MB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.7801, allocations: 43.91 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7801, allocations: 7.938 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.7802, allocations: 15.98 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.7806, allocations: 12.31 kB / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.7822, allocations: 1.349 MB / 1.214 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.7824, allocations: 0.6923 MB / 1.215 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.7824, allocations: 0 / 1.215 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.7825, allocations: 15.44 kB / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.7825, allocations: 0 / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.801, allocations: 1.531 MB / 1.216 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.54, allocations: 6.172 kB / 1.216 GB, free: 3.969 MB / 0.9356 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) 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) Reference file matches