Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 292.6 MB / 307.8 MB, free: 7.133 MB / 234.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.0009848/0.0009849, allocations: 189.4 kB / 376.5 MB, free: 4.438 MB / 298.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.241/1.241, allocations: 225.7 MB / 0.655 GB, free: 13.14 MB / 490.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.0008675/0.0008673, allocations: 98.59 kB / 0.7711 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5387/0.5391, allocations: 118.2 MB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.00171/0.5408, allocations: 1.322 MB / 1.014 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007316/0.5416, allocations: 0.5112 MB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.5417, allocations: 1.188 kB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.5419, allocations: 22.89 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.5421, allocations: 54.59 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.5422, allocations: 62.2 kB / 1.014 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.5423, allocations: 121.1 kB / 1.014 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.5425, allocations: 41.08 kB / 1.014 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.5425, allocations: 49.25 kB / 1.015 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.5426, allocations: 42.56 kB / 1.015 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.5427, allocations: 3 kB / 1.015 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.427e-05/0.5427, allocations: 20.11 kB / 1.015 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.5428, allocations: 38.8 kB / 1.015 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.5428, allocations: 67.7 kB / 1.015 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.543, allocations: 105.5 kB / 1.015 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.543, allocations: 3.188 kB / 1.015 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.543, allocations: 0 / 1.015 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.543, allocations: 0 / 1.015 GB, free: 57.29 MB / 0.7136 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.0004314/0.5434, allocations: 451 kB / 1.015 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.5435, allocations: 11.78 kB / 1.015 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.5435, allocations: 22.78 kB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.5437, allocations: 236.9 kB / 1.015 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5437, allocations: 1.438 kB / 1.015 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.5438, allocations: 12.72 kB / 1.015 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.544, allocations: 107.3 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.544, allocations: 1.031 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.544, allocations: 6.969 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.544, allocations: 9.109 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.5442, allocations: 76.67 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.5447, allocations: 386.8 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.5448, allocations: 46.39 kB / 1.016 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.5449, allocations: 39.61 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.545, allocations: 3.281 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.5452, allocations: 107.7 kB / 1.016 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.5452, allocations: 0 / 1.016 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003781/0.5456, allocations: 141.4 kB / 1.016 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.5456, allocations: 82.08 kB / 1.016 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5458, allocations: 262 kB / 1.017 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.5458, allocations: 30.8 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.5459, allocations: 124.9 kB / 1.017 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.5459, allocations: 9.453 kB / 1.017 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.5459, allocations: 3.375 kB / 1.017 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.546, allocations: 332.1 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.5461, allocations: 33.12 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.5462, allocations: 53.88 kB / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.5464, allocations: 91.95 kB / 1.017 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5464, allocations: 0 / 1.017 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002345/0.5466, allocations: 118.8 kB / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.5466, allocations: 10.83 kB / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5466, allocations: 0 / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.5467, allocations: 3.938 kB / 1.017 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.5468, allocations: 16.22 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5468, allocations: 1.156 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.5469, allocations: 19.45 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5469, allocations: 3.906 kB / 1.018 GB, free: 55.44 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.547, allocations: 126.8 kB / 1.018 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.547, allocations: 16.88 kB / 1.018 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.547, allocations: 22.83 kB / 1.018 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.547, allocations: 5.969 kB / 1.018 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.547, allocations: 0 / 1.018 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.547, allocations: 0 / 1.018 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.5472, allocations: 214.4 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5472, allocations: 2.938 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.5472, allocations: 18.77 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5472, allocations: 3.5 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.5473, allocations: 0 / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.5473, allocations: 6.594 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5473, allocations: 0 / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.5475, allocations: 143.7 kB / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.5476, allocations: 93.22 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5476, allocations: 6.812 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.5477, allocations: 19.31 kB / 1.018 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.5477, allocations: 6.062 kB / 1.018 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5478, allocations: 6.531 kB / 1.018 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001326/0.5479, allocations: 184.7 kB / 1.018 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5479, allocations: 0 / 1.018 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000193/0.5481, allocations: 23.84 kB / 1.018 GB, free: 54.84 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.5483, allocations: 135.3 kB / 1.019 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.5485, allocations: 73.09 kB / 1.019 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5486, allocations: 1.016 kB / 1.019 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.5487, allocations: 34.47 kB / 1.019 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.5489, allocations: 36.25 kB / 1.019 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.5493, allocations: 326.8 kB / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.5495, allocations: 0.7216 MB / 1.02 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.948e-05/0.5495, allocations: 18.3 kB / 1.02 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.5496, allocations: 13.78 kB / 1.02 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5496, allocations: 0 / 1.02 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.003637/0.5532, allocations: 1.575 MB / 1.021 GB, free: 53.72 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)