Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.341/2.341, allocations: 255 MB / 269.9 MB, free: 9.633 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.001811/0.001811, allocations: 181.4 kB / 329.5 MB, free: 1.148 MB / 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 2.554/2.554, allocations: 225.6 MB / 0.6001 GB, free: 2.227 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.0009955/0.0009953, allocations: 91.39 kB / 0.7074 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007353/0.0007356, allocations: 10.88 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.229, allocations: 109.1 MB / 0.9307 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001335/0.2304, allocations: 0.9384 MB / 0.9317 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.2312, allocations: 379.1 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.2313, allocations: 3.938 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.2313, allocations: 0 / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.2314, allocations: 4 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2319, allocations: 83.78 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.492e-05/0.2319, allocations: 19.92 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.232, allocations: 0 / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.232, allocations: 7.984 kB / 0.9321 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.148e-05/0.2321, allocations: 15.88 kB / 0.9322 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2321, allocations: 0 / 0.9322 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.2323, allocations: 91.84 kB / 0.9322 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.2323, allocations: 11.97 kB / 0.9323 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.2324, allocations: 25.7 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2325, allocations: 67.91 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2325, allocations: 0 / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2326, allocations: 0 / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2326, allocations: 0 / 0.9323 GB, free: 23.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004109/0.233, allocations: 384.5 kB / 0.9327 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.233, allocations: 8.031 kB / 0.9327 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.2331, allocations: 0.9375 kB / 0.9327 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.2332, allocations: 168.3 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2332, allocations: 384 / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2332, allocations: 8.375 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2334, allocations: 42.19 kB / 0.9329 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2334, allocations: 192 / 0.9329 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2334, allocations: 7.922 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2334, allocations: 0 / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.938e-05/0.2335, allocations: 7.984 kB / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.2336, allocations: 157.6 kB / 0.9331 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.2337, allocations: 30.61 kB / 0.9331 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.2338, allocations: 12.86 kB / 0.9331 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.2338, allocations: 0 / 0.9331 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.2339, allocations: 59.42 kB / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.234, allocations: 0 / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002333/0.2342, allocations: 65.62 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.2342, allocations: 59.39 kB / 0.9333 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.2343, allocations: 101.9 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2344, allocations: 25.7 kB / 0.9334 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.2344, allocations: 84.14 kB / 0.9335 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.2344, allocations: 15.88 kB / 0.9335 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2345, allocations: 0 / 0.9335 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.2345, allocations: 318.8 kB / 0.9338 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.2346, allocations: 4 kB / 0.9338 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.2346, allocations: 47.34 kB / 0.9339 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.2347, allocations: 12 kB / 0.9339 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2347, allocations: 0 / 0.9339 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001206/0.2348, allocations: 69.53 kB / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2348, allocations: 11.84 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2348, allocations: 0 / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2349, allocations: 4 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.235, allocations: 16.02 kB / 0.934 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.235, allocations: 0 / 0.934 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.235, allocations: 4 kB / 0.934 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2351, allocations: 4 kB / 0.934 GB, free: 21.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.725e-05/0.2351, allocations: 113.8 kB / 0.9341 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.2352, allocations: 7.938 kB / 0.9341 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.2352, allocations: 3.5 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2352, allocations: 3.984 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2352, allocations: 0 / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2352, allocations: 4 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.894e-05/0.2353, allocations: 157.6 kB / 0.9343 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2353, allocations: 0 / 0.9343 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.2354, allocations: 4 kB / 0.9343 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2354, allocations: 7.875 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2354, allocations: 4 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2354, allocations: 3.938 kB / 0.9343 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2354, allocations: 432 / 0.9343 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.2356, allocations: 93.09 kB / 0.9344 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.2356, allocations: 77.11 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2356, allocations: 3.938 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.2357, allocations: 4 kB / 0.9345 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.2357, allocations: 7.984 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2357, allocations: 0 / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.2358, allocations: 79.28 kB / 0.9345 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2358, allocations: 0 / 0.9345 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003114/0.2361, allocations: 35.98 kB / 0.9346 GB, free: 20.89 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003762/0.2365, allocations: 165.9 kB / 0.9347 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.2366, allocations: 27.92 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2366, allocations: 0 / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.2367, allocations: 15.94 kB / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.2369, allocations: 192 / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.2372, allocations: 128.5 kB / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2373, allocations: 0.6809 MB / 0.9356 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.2374, allocations: 3.984 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.2374, allocations: 15.38 kB / 0.9356 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of SimCode: time 6.22e-07/0.2374, allocations: 0 / 0.9356 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of Templates: time 0.004089/0.2415, allocations: 0.9973 MB / 0.9366 GB, free: 18.81 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)