Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8081/0.8081, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 190.3 kB / 192 MB, free: 6.723 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 450.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 103.5 kB / 0.5211 GB, free: 1.621 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 291.4 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 15.47 kB / 0.6948 GB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.001624/0.1227, allocations: 1.237 MB / 0.7765 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006052/0.1233, allocations: 403.4 kB / 0.7769 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.1233, allocations: 3.938 kB / 0.7769 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1234, allocations: 3.938 kB / 0.7769 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.1234, allocations: 11.94 kB / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.1236, allocations: 15.98 kB / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.1237, allocations: 35.91 kB / 0.777 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.1238, allocations: 16 kB / 0.777 GB, free: 12.63 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.1239, allocations: 23.84 kB / 0.777 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.1239, allocations: 19.86 kB / 0.777 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1239, allocations: 4 kB / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.1239, allocations: 4 kB / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.124, allocations: 7.984 kB / 0.777 GB, free: 12.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.124, allocations: 41.58 kB / 0.7771 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.692e-05/0.1241, allocations: 51.95 kB / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1241, allocations: 4 kB / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1241, allocations: 0 / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.1241, allocations: 0 / 0.7771 GB, free: 12.47 MB / 458.7 MB 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.0003991/0.1245, allocations: 355.4 kB / 0.7775 GB, free: 12.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1246, allocations: 12.03 kB / 0.7775 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1246, allocations: 4.844 kB / 0.7775 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1247, allocations: 168.3 kB / 0.7776 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1247, allocations: 4.375 kB / 0.7776 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1248, allocations: 384 / 0.7776 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1249, allocations: 77.91 kB / 0.7777 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.125, allocations: 4 kB / 0.7777 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.125, allocations: 4 kB / 0.7777 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.125, allocations: 0 / 0.7777 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1252, allocations: 43.97 kB / 0.7778 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.1256, allocations: 304.7 kB / 0.7781 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.1259, allocations: 78.53 kB / 0.7781 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.126, allocations: 28.84 kB / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.126, allocations: 0 / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.126, allocations: 34.56 kB / 0.7782 GB, free: 11.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.126, allocations: 0 / 0.7782 GB, free: 11.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003297/0.1264, allocations: 93.66 kB / 0.7783 GB, free: 11.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.1264, allocations: 55.34 kB / 0.7783 GB, free: 11.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1265, allocations: 121.8 kB / 0.7785 GB, free: 10.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1265, allocations: 29.7 kB / 0.7785 GB, free: 10.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.1266, allocations: 92.05 kB / 0.7786 GB, free: 10.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.1266, allocations: 3.906 kB / 0.7786 GB, free: 10.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.1266, allocations: 0 / 0.7786 GB, free: 10.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.1267, allocations: 326.8 kB / 0.7789 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.1268, allocations: 23.98 kB / 0.7789 GB, free: 10.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.1269, allocations: 19.98 kB / 0.7789 GB, free: 10.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.127, allocations: 52.77 kB / 0.779 GB, free: 10.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1271, allocations: 0 / 0.779 GB, free: 10.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001969/0.1273, allocations: 81.8 kB / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1273, allocations: 4 kB / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1273, allocations: 0 / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1273, allocations: 4 kB / 0.7791 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.1274, allocations: 15.98 kB / 0.7791 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1274, allocations: 3.938 kB / 0.7791 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.1275, allocations: 4.047 kB / 0.7791 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1275, allocations: 7.969 kB / 0.7791 GB, free: 10.23 MB / 458.7 MB 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.007e-05/0.1275, allocations: 120.7 kB / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1276, allocations: 0 / 0.7792 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.1276, allocations: 15.91 kB / 0.7792 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1276, allocations: 0 / 0.7792 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1276, allocations: 0 / 0.7792 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1276, allocations: 0 / 0.7792 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.1278, allocations: 185.4 kB / 0.7794 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1278, allocations: 0 / 0.7794 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.1279, allocations: 11.98 kB / 0.7794 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1279, allocations: 0 / 0.7794 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1279, allocations: 0 / 0.7794 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1279, allocations: 4 kB / 0.7794 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1279, allocations: 0 / 0.7794 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1282, allocations: 175.4 kB / 0.7796 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.1282, allocations: 85 kB / 0.7797 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1282, allocations: 4 kB / 0.7797 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.1283, allocations: 12 kB / 0.7797 GB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.1283, allocations: 7.984 kB / 0.7797 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1284, allocations: 0 / 0.7797 GB, free: 9.531 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.1284, allocations: 99.64 kB / 0.7798 GB, free: 9.434 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1284, allocations: 0 / 0.7798 GB, free: 9.434 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.1286, allocations: 7.938 kB / 0.7798 GB, free: 9.426 MB / 458.7 MB 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 7.969e-05/0.1287, allocations: 104.7 kB / 0.7799 GB, free: 9.316 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1289, allocations: 55.84 kB / 0.7799 GB, free: 9.262 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1289, allocations: 0 / 0.7799 GB, free: 9.262 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.836e-05/0.129, allocations: 23.98 kB / 0.78 GB, free: 9.238 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1292, allocations: 6.406 kB / 0.78 GB, free: 9.234 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.1296, allocations: 172.6 kB / 0.7801 GB, free: 9.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1298, allocations: 0.6848 MB / 0.7808 GB, free: 8.324 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.199e-05/0.1298, allocations: 8 kB / 0.7808 GB, free: 8.316 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1299, allocations: 7.438 kB / 0.7808 GB, free: 8.309 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1299, allocations: 0 / 0.7808 GB, free: 8.309 MB / 458.7 MB Notification: Performance of Templates: time 0.001914/0.1318, allocations: 429.3 kB / 0.7812 GB, free: 7.891 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)