Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_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.007287/0.007287, allocations: 107.9 kB / 15.74 MB, free: 5.578 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.001704/0.001704, allocations: 189.5 kB / 16.67 MB, free: 5.516 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.11 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7095, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002749/0.7123, allocations: 1.519 MB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000745/0.7131, allocations: 439 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.7132, allocations: 0 / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.7132, allocations: 3.938 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.7133, allocations: 11.88 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.7135, allocations: 31.95 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.7136, allocations: 43.8 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.7137, allocations: 19.98 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.7138, allocations: 23.91 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.7139, allocations: 15.92 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.7139, allocations: 4 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.7139, allocations: 8 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.7139, allocations: 15.92 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.714, allocations: 19.88 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.7141, allocations: 39.81 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7141, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7141, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.7141, allocations: 7.875 kB / 1.168 GB, free: 1.598 MB / 0.8887 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.0005288/0.7147, allocations: 369.5 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7147, allocations: 12.92 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.7148, allocations: 34.75 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.7148, allocations: 4.938 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.7149, allocations: 176.2 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.715, allocations: 4.375 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.715, allocations: 4.375 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.7152, allocations: 65.8 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7152, allocations: 3.938 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.7152, allocations: 4 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7153, allocations: 4 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.7154, allocations: 39.97 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.7159, allocations: 292.7 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.7162, allocations: 70.47 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.7163, allocations: 24.91 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.7164, allocations: 0 / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.7164, allocations: 30.56 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.7164, allocations: 0 / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003587/0.7167, allocations: 89.55 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.7168, allocations: 55.41 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.7169, allocations: 129.7 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.7169, allocations: 25.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.717, allocations: 84.14 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.717, allocations: 15.83 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.7171, allocations: 17.72 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7172, allocations: 318.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.7173, allocations: 15.98 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.7174, allocations: 19.98 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.7175, allocations: 41.11 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.7175, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/0.7177, allocations: 73.55 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7178, allocations: 7.938 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.7178, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7178, allocations: 8 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.7179, allocations: 11.92 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.7179, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.7179, allocations: 8 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.718, allocations: 7.875 kB / 1.17 GB, free: 15.34 MB / 0.9044 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.161e-05/0.718, allocations: 109.8 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.7181, allocations: 7.906 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.7181, allocations: 11.89 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7181, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7181, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7181, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.7183, allocations: 173.6 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7183, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.7184, allocations: 11.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7184, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.7184, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7184, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7184, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.7187, allocations: 179.4 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.7188, allocations: 81.02 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7188, allocations: 4 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.7189, allocations: 7.984 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.7189, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.7189, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.719, allocations: 99.2 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.719, allocations: 4 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002298/0.7192, allocations: 8 kB / 1.171 GB, free: 14.55 MB / 0.9044 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.0005039/0.7197, allocations: 0.689 MB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.7199, allocations: 47.91 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.72, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.72, allocations: 23.97 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.7203, allocations: 11.92 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.7218, allocations: 1.354 MB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.7221, allocations: 0.6885 MB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.7221, allocations: 4.312 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.7222, allocations: 19.44 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7222, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.7414, allocations: 1.505 MB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.67, allocations: 8.703 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches