Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 255.9 MB / 271.2 MB, free: 8.871 MB / 218.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.001005/0.001005, allocations: 182.2 kB / 330.8 MB, free: 464 kB / 250.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.766/1.766, allocations: 225.7 MB / 0.6016 GB, free: 1.664 MB / 426.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.0008505/0.0008505, allocations: 101.5 kB / 0.709 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005695, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2608, allocations: 109.2 MB / 0.9328 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001118/0.262, allocations: 0.541 MB / 0.9333 GB, free: 5.719 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.2621, allocations: 43.77 kB / 0.9333 GB, free: 5.676 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.2622, allocations: 0 / 0.9333 GB, free: 5.676 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.2623, allocations: 7.938 kB / 0.9333 GB, free: 5.668 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2624, allocations: 7.938 kB / 0.9333 GB, free: 5.66 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 5.101e-05/0.2625, allocations: 19.98 kB / 0.9334 GB, free: 5.641 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2626, allocations: 63.78 kB / 0.9334 GB, free: 5.578 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.2627, allocations: 41.38 kB / 0.9335 GB, free: 5.531 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.745e-05/0.2628, allocations: 23.86 kB / 0.9335 GB, free: 5.508 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.2629, allocations: 23.8 kB / 0.9335 GB, free: 5.484 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2629, allocations: 3.938 kB / 0.9335 GB, free: 5.48 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.2629, allocations: 4 kB / 0.9335 GB, free: 5.477 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.2629, allocations: 7.922 kB / 0.9335 GB, free: 5.469 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.263, allocations: 61.44 kB / 0.9336 GB, free: 5.402 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.2631, allocations: 67.97 kB / 0.9337 GB, free: 5.336 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2631, allocations: 4 kB / 0.9337 GB, free: 5.332 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2631, allocations: 4 kB / 0.9337 GB, free: 5.328 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2631, allocations: 0 / 0.9337 GB, free: 5.328 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004039/0.2635, allocations: 371.2 kB / 0.934 GB, free: 4.914 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2636, allocations: 11.98 kB / 0.934 GB, free: 4.902 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.2636, allocations: 12.75 kB / 0.934 GB, free: 4.891 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.2639, allocations: 196.1 kB / 0.9342 GB, free: 4.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2639, allocations: 8.375 kB / 0.9342 GB, free: 4.652 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2639, allocations: 12.38 kB / 0.9342 GB, free: 4.641 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2641, allocations: 95.84 kB / 0.9343 GB, free: 4.535 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2641, allocations: 192 / 0.9343 GB, free: 4.535 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2641, allocations: 7.938 kB / 0.9343 GB, free: 4.527 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2641, allocations: 7.984 kB / 0.9344 GB, free: 4.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.2642, allocations: 39.92 kB / 0.9344 GB, free: 4.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.2647, allocations: 452.5 kB / 0.9348 GB, free: 3.984 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.2648, allocations: 37.25 kB / 0.9349 GB, free: 3.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.2648, allocations: 17.78 kB / 0.9349 GB, free: 3.906 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2648, allocations: 0 / 0.9349 GB, free: 3.906 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.2649, allocations: 34.56 kB / 0.9349 GB, free: 3.863 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2649, allocations: 3.938 kB / 0.9349 GB, free: 3.859 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.265, allocations: 65.47 kB / 0.935 GB, free: 3.789 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2651, allocations: 77.11 kB / 0.935 GB, free: 3.695 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2652, allocations: 165.9 kB / 0.9352 GB, free: 3.523 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2652, allocations: 25.7 kB / 0.9352 GB, free: 3.492 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.2653, allocations: 120.1 kB / 0.9353 GB, free: 3.371 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.2653, allocations: 3.906 kB / 0.9353 GB, free: 3.367 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.2653, allocations: 0 / 0.9353 GB, free: 3.367 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.2654, allocations: 322.8 kB / 0.9357 GB, free: 3.043 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.2654, allocations: 8 kB / 0.9357 GB, free: 3.035 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.2654, allocations: 25.64 kB / 0.9357 GB, free: 3.004 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.2655, allocations: 25.72 kB / 0.9357 GB, free: 2.973 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2655, allocations: 0 / 0.9357 GB, free: 2.973 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.262e-05/0.2656, allocations: 61.55 kB / 0.9358 GB, free: 2.906 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2656, allocations: 4 kB / 0.9358 GB, free: 2.902 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2656, allocations: 3.938 kB / 0.9358 GB, free: 2.898 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2656, allocations: 7.984 kB / 0.9358 GB, free: 2.891 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.2657, allocations: 4 kB / 0.9358 GB, free: 2.887 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2657, allocations: 0 / 0.9358 GB, free: 2.887 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.2658, allocations: 4 kB / 0.9358 GB, free: 2.883 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2658, allocations: 4 kB / 0.9358 GB, free: 2.879 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.119e-05/0.2658, allocations: 118.6 kB / 0.9359 GB, free: 2.754 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.2659, allocations: 11.81 kB / 0.9359 GB, free: 2.742 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.2659, allocations: 16.48 kB / 0.9359 GB, free: 2.727 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2659, allocations: 0 / 0.9359 GB, free: 2.727 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.266, allocations: 4 kB / 0.9359 GB, free: 2.723 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.266, allocations: 0 / 0.9359 GB, free: 2.723 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.2663, allocations: 482.8 kB / 0.9364 GB, free: 2.188 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2663, allocations: 4 kB / 0.9364 GB, free: 2.184 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.2663, allocations: 7.922 kB / 0.9364 GB, free: 2.176 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2663, allocations: 4 kB / 0.9364 GB, free: 2.172 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.2663, allocations: 4 kB / 0.9364 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2663, allocations: 0 / 0.9364 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2664, allocations: 0 / 0.9364 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.437e-05/0.2664, allocations: 85.91 kB / 0.9365 GB, free: 2.062 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.2665, allocations: 92.88 kB / 0.9366 GB, free: 1.953 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.2665, allocations: 4 kB / 0.9366 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.453e-05/0.2665, allocations: 3.938 kB / 0.9366 GB, free: 1.945 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2665, allocations: 0 / 0.9366 GB, free: 1.945 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.2666, allocations: 0 / 0.9366 GB, free: 1.945 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.928e-05/0.2666, allocations: 134 kB / 0.9367 GB, free: 1.816 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2666, allocations: 0 / 0.9367 GB, free: 1.816 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001881/0.2668, allocations: 11.91 kB / 0.9367 GB, free: 1.805 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001129/0.2669, allocations: 111.2 kB / 0.9368 GB, free: 1.688 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.734e-05/0.267, allocations: 16 kB / 0.9369 GB, free: 1.672 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2671, allocations: 0 / 0.9369 GB, free: 1.672 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.2671, allocations: 11.94 kB / 0.9369 GB, free: 1.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.2672, allocations: 11.94 kB / 0.9369 GB, free: 1.648 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.2676, allocations: 196.5 kB / 0.9371 GB, free: 1.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2677, allocations: 0.6965 MB / 0.9377 GB, free: 0.707 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.2677, allocations: 8.438 kB / 0.9378 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.2678, allocations: 11.44 kB / 0.9378 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of SimCode: time 7.31e-07/0.2678, allocations: 0 / 0.9378 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of Templates: time 0.002479/0.2703, allocations: 455.2 kB / 0.9382 GB, free: 252 kB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)