Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9705/0.9705, allocations: 143.8 MB / 159.1 MB, free: 6.504 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.0009934/0.0009934, allocations: 182.1 kB / 192 MB, free: 6.715 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.479/1.479, allocations: 225.7 MB / 450.4 MB, free: 4.953 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.001114/0.001114, allocations: 95.58 kB / 0.5211 GB, free: 1.625 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.001618/0.001618, allocations: 281.8 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 13.47 kB / 0.6948 GB, free: 59.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.5775/0.7263, allocations: 258.7 MB / 1.028 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02865/0.755, allocations: 25.08 MB / 1.052 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.7581, allocations: 75.31 kB / 1.053 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.7605, allocations: 0.6481 MB / 1.053 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007308/0.7678, allocations: 2.735 MB / 1.056 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006452/0.7743, allocations: 2.51 MB / 1.058 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006254/0.7805, allocations: 5.056 MB / 1.063 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.7826, allocations: 1.05 MB / 1.064 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.7858, allocations: 1.276 MB / 1.065 GB, free: 456 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.7876, allocations: 1.042 MB / 1.067 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003787/0.788, allocations: 48 kB / 1.067 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.7986, allocations: 5.069 MB / 1.072 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009846/0.7997, allocations: 0.584 MB / 1.072 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.8017, allocations: 0.9264 MB / 1.073 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008798/0.8105, allocations: 4.459 MB / 1.077 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.8105, allocations: 4 kB / 1.077 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8105, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.338e-05/0.8106, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003468/0.8141, allocations: 1.925 MB / 1.079 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8142, allocations: 8.031 kB / 1.079 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.8163, allocations: 485 kB / 1.08 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.8188, allocations: 1.263 MB / 1.081 GB, free: 500 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/0.8189, allocations: 94.44 kB / 1.081 GB, free: 404 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.8191, allocations: 124 kB / 1.081 GB, free: 280 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.8218, allocations: 1.704 MB / 1.083 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.8218, allocations: 3.938 kB / 1.083 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.8219, allocations: 56 kB / 1.083 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.619e-05/0.822, allocations: 59.92 kB / 1.083 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.8237, allocations: 1.213 MB / 1.084 GB, free: 13.1 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007413/0.8311, allocations: 7.572 MB / 1.091 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.8319, allocations: 0.6617 MB / 1.092 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.8326, allocations: 0.6174 MB / 1.093 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.834, allocations: 1.869 MB / 1.095 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.834, allocations: 46.5 kB / 1.095 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.005e-06/0.834, allocations: 0 / 1.095 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.002241/0.8363, allocations: 1.388 MB / 1.096 GB, free: 8 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.8364, allocations: 302.7 kB / 1.096 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.8388, allocations: 1.873 MB / 1.098 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.8388, allocations: 37.7 kB / 1.098 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.8394, allocations: 0.7253 MB / 1.099 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.8396, allocations: 248.4 kB / 1.099 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.8397, allocations: 8 kB / 1.099 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8398, allocations: 333.9 kB / 1.099 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.8402, allocations: 325.1 kB / 1.1 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.8408, allocations: 0.5625 MB / 1.1 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.8418, allocations: 0.8568 MB / 1.101 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.8418, allocations: 7.938 kB / 1.101 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00126/0.843, allocations: 1.007 MB / 1.102 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.8431, allocations: 11.94 kB / 1.102 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8431, allocations: 8 kB / 1.102 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.8431, allocations: 8 kB / 1.102 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.8435, allocations: 123.8 kB / 1.102 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.8435, allocations: 4 kB / 1.102 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.8443, allocations: 142.5 kB / 1.102 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/0.8444, allocations: 47.97 kB / 1.102 GB, free: 9.172 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0006195/0.845, allocations: 459.7 kB / 1.103 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.8453, allocations: 185.7 kB / 1.103 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.847, allocations: 1.083 MB / 1.104 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.847, allocations: 11.98 kB / 1.104 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.847, allocations: 4 kB / 1.104 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.847, allocations: 7.984 kB / 1.104 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.8572, allocations: 8.779 MB / 1.113 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.8572, allocations: 12 kB / 1.113 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.8576, allocations: 143.8 kB / 1.113 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.077e-05/0.8577, allocations: 20.78 kB / 1.113 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.8577, allocations: 39.98 kB / 1.113 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.368e-05/0.8578, allocations: 39.8 kB / 1.113 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/0.8578, allocations: 23.88 kB / 1.113 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.8595, allocations: 1.656 MB / 1.115 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/0.8602, allocations: 410.3 kB / 1.115 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.8604, allocations: 39.92 kB / 1.115 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.861, allocations: 47.83 kB / 1.115 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.8612, allocations: 111.6 kB / 1.115 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.8612, allocations: 55.94 kB / 1.115 GB, free: 11.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001687/0.8629, allocations: 1.3 MB / 1.116 GB, free: 9.988 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8629, allocations: 0 / 1.116 GB, free: 9.988 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00163/0.8646, allocations: 0.5269 MB / 1.117 GB, free: 9.461 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002172/0.8668, allocations: 0.9727 MB / 1.118 GB, free: 8.488 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.8678, allocations: 0.8101 MB / 1.119 GB, free: 7.676 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.8678, allocations: 4 kB / 1.119 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.8684, allocations: 487.5 kB / 1.119 GB, free: 7.199 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008438/0.8768, allocations: 1.274 MB / 1.12 GB, free: 5.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.881, allocations: 3.758 MB / 1.124 GB, free: 1.938 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/0.882, allocations: 1.406 MB / 1.125 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00132/0.8833, allocations: 498.5 kB / 1.126 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.8836, allocations: 119.4 kB / 1.126 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.8836, allocations: 0 / 1.126 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.3305/1.214, allocations: 42.19 MB / 1.167 GB, free: 269.8 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)