Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.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.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter") 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.265/1.265, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.0008542/0.0008542, allocations: 182.8 kB / 330.8 MB, free: 468 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.293/1.293, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.0007209/0.0007209, allocations: 105.5 kB / 0.709 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 9 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 109.2 MB / 0.9327 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.00143/0.1525, allocations: 1.345 MB / 0.9341 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00064/0.1531, allocations: 0.5108 MB / 0.9346 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.1532, allocations: 4 kB / 0.9346 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.1534, allocations: 23.86 kB / 0.9346 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1536, allocations: 67.67 kB / 0.9346 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.1537, allocations: 59.92 kB / 0.9347 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1538, allocations: 123.6 kB / 0.9348 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.154, allocations: 49.45 kB / 0.9349 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.1541, allocations: 39.78 kB / 0.9349 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.1542, allocations: 55.7 kB / 0.935 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1542, allocations: 4 kB / 0.935 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.1542, allocations: 15.92 kB / 0.935 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.1543, allocations: 31.91 kB / 0.935 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.1544, allocations: 81.25 kB / 0.9351 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1545, allocations: 131.7 kB / 0.9352 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1545, allocations: 4 kB / 0.9352 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1545, allocations: 0 / 0.9352 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1545, allocations: 0 / 0.9352 GB, free: 21.56 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004372/0.155, allocations: 454.8 kB / 0.9356 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.155, allocations: 11.98 kB / 0.9357 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.155, allocations: 20.66 kB / 0.9357 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1552, allocations: 238.2 kB / 0.9359 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.1552, allocations: 4.375 kB / 0.9359 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1553, allocations: 4.375 kB / 0.9359 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1555, allocations: 121.9 kB / 0.936 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1555, allocations: 0 / 0.936 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1555, allocations: 4 kB / 0.936 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1555, allocations: 0 / 0.936 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.1557, allocations: 79.94 kB / 0.9361 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.1562, allocations: 396.3 kB / 0.9365 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1563, allocations: 50.55 kB / 0.9365 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.1564, allocations: 32.89 kB / 0.9366 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1564, allocations: 0 / 0.9366 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.1567, allocations: 109 kB / 0.9367 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1567, allocations: 0 / 0.9367 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003632/0.157, allocations: 145.4 kB / 0.9368 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.1571, allocations: 77.11 kB / 0.9369 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1572, allocations: 257 kB / 0.9371 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1573, allocations: 25.7 kB / 0.9372 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.1573, allocations: 128 kB / 0.9373 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.1573, allocations: 11.89 kB / 0.9373 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1573, allocations: 4 kB / 0.9373 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.1574, allocations: 326.8 kB / 0.9376 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1575, allocations: 31.97 kB / 0.9376 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1576, allocations: 59.53 kB / 0.9377 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1578, allocations: 82.56 kB / 0.9378 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1578, allocations: 0 / 0.9378 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002336/0.158, allocations: 117.4 kB / 0.9379 GB, free: 18.58 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1581, allocations: 8 kB / 0.9379 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1581, allocations: 0 / 0.9379 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1581, allocations: 4.031 kB / 0.9379 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.1582, allocations: 24.06 kB / 0.9379 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1582, allocations: 3.938 kB / 0.9379 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.1583, allocations: 23.89 kB / 0.9379 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1583, allocations: 7.938 kB / 0.938 GB, free: 18.51 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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 6.504e-05/0.1584, allocations: 129.8 kB / 0.9381 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1584, allocations: 15.81 kB / 0.9381 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.1584, allocations: 21.23 kB / 0.9381 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1584, allocations: 7.938 kB / 0.9381 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1584, allocations: 0 / 0.9381 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1584, allocations: 0 / 0.9381 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.877e-05/0.1585, allocations: 213.6 kB / 0.9383 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1586, allocations: 0 / 0.9383 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.1586, allocations: 11.98 kB / 0.9383 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1586, allocations: 3.984 kB / 0.9383 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1587, allocations: 4 kB / 0.9383 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1587, allocations: 3.938 kB / 0.9383 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1587, allocations: 4 kB / 0.9383 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1589, allocations: 136.8 kB / 0.9385 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.1589, allocations: 100.8 kB / 0.9386 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.159, allocations: 0 / 0.9386 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.1591, allocations: 27.86 kB / 0.9386 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1591, allocations: 0 / 0.9386 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1591, allocations: 7.984 kB / 0.9386 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001156/0.1592, allocations: 184.5 kB / 0.9388 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 0 / 0.9388 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001932/0.1594, allocations: 31.89 kB / 0.9388 GB, free: 17.53 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.0001637/0.1596, allocations: 129.4 kB / 0.9389 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1599, allocations: 79.88 kB / 0.939 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1599, allocations: 0 / 0.939 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.16, allocations: 40.16 kB / 0.9391 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1602, allocations: 33.94 kB / 0.9391 GB, free: 17.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.1606, allocations: 334.7 kB / 0.9394 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.1607, allocations: 0.7238 MB / 0.9401 GB, free: 16.15 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.908e-05/0.1608, allocations: 16.55 kB / 0.9401 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1608, allocations: 15.44 kB / 0.9401 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.1608, allocations: 0 / 0.9401 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.003416/0.1643, allocations: 1.585 MB / 0.9417 GB, free: 14.55 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)