Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.449/2.449, allocations: 254.9 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.001295/0.001295, allocations: 195 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.623/2.623, allocations: 225.6 MB / 0.6001 GB, free: 488 kB / 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.0009954/0.0009951, allocations: 94.25 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.000493, allocations: 18.27 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001518/0.2342, allocations: 1.072 MB / 0.9318 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.2346, allocations: 147.5 kB / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.2346, allocations: 0 / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.2346, allocations: 0 / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.2347, allocations: 11.92 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.2349, allocations: 19.92 kB / 0.932 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.235, allocations: 35.92 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.2351, allocations: 15.97 kB / 0.932 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.2351, allocations: 15.94 kB / 0.9321 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.2352, allocations: 23.91 kB / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2353, allocations: 0 / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.2353, allocations: 4 kB / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.2353, allocations: 0 / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.2353, allocations: 29.7 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.782e-05/0.2354, allocations: 39.91 kB / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2354, allocations: 4 kB / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2354, allocations: 0 / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2354, allocations: 0 / 0.9322 GB, free: 23.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004927/0.2359, allocations: 343.7 kB / 0.9325 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.236, allocations: 8.031 kB / 0.9325 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.236, allocations: 12.78 kB / 0.9325 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2362, allocations: 168.4 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2362, allocations: 8.375 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2362, allocations: 384 / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.2365, allocations: 70.22 kB / 0.9327 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2365, allocations: 192 / 0.9327 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2365, allocations: 3.938 kB / 0.9327 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2366, allocations: 4 kB / 0.9327 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.2369, allocations: 63.95 kB / 0.9328 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.2373, allocations: 296.6 kB / 0.9331 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.2376, allocations: 66.55 kB / 0.9332 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2378, allocations: 40.91 kB / 0.9332 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.2379, allocations: 0 / 0.9332 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.2379, allocations: 30.56 kB / 0.9332 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2379, allocations: 4 kB / 0.9332 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0006105/0.2385, allocations: 125.6 kB / 0.9333 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2386, allocations: 59.34 kB / 0.9334 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.2386, allocations: 109.8 kB / 0.9335 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2387, allocations: 25.7 kB / 0.9335 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2387, allocations: 88.05 kB / 0.9336 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2387, allocations: 11.89 kB / 0.9336 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.2388, allocations: 0 / 0.9336 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.2388, allocations: 314.8 kB / 0.9339 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.239, allocations: 27.98 kB / 0.934 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.2392, allocations: 31.97 kB / 0.934 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2393, allocations: 31.91 kB / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2394, allocations: 3.938 kB / 0.934 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003813/0.2397, allocations: 97.5 kB / 0.9341 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2398, allocations: 8 kB / 0.9341 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2398, allocations: 0 / 0.9341 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2398, allocations: 0 / 0.9341 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.24, allocations: 19.97 kB / 0.9341 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.24, allocations: 4 kB / 0.9341 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2401, allocations: 8 kB / 0.9341 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.2402, allocations: 4 kB / 0.9342 GB, free: 21.19 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.2402, allocations: 113.8 kB / 0.9343 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.2403, allocations: 4.328 kB / 0.9343 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2403, allocations: 7.906 kB / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2403, allocations: 3.984 kB / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2403, allocations: 0 / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2404, allocations: 4 kB / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2406, allocations: 177.6 kB / 0.9345 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2406, allocations: 0 / 0.9345 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2407, allocations: 19.92 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2408, allocations: 0 / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2408, allocations: 0 / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2408, allocations: 3.984 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2408, allocations: 0 / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.2412, allocations: 203.3 kB / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.2413, allocations: 84.98 kB / 0.9347 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.2413, allocations: 0 / 0.9347 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2414, allocations: 15.98 kB / 0.9348 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.2415, allocations: 11.98 kB / 0.9348 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2415, allocations: 0 / 0.9348 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.2416, allocations: 83.27 kB / 0.9349 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2416, allocations: 0 / 0.9349 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002712/0.2419, allocations: 12 kB / 0.9349 GB, free: 20.36 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001047/0.242, allocations: 107.2 kB / 0.935 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.2424, allocations: 59.95 kB / 0.935 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2424, allocations: 4 kB / 0.935 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.2426, allocations: 31.97 kB / 0.9351 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.243, allocations: 19.92 kB / 0.9351 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.2434, allocations: 136.6 kB / 0.9352 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2435, allocations: 0.6848 MB / 0.9359 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.603e-05/0.2436, allocations: 8 kB / 0.9359 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.2436, allocations: 11.42 kB / 0.9359 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.2436, allocations: 3.938 kB / 0.9359 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of Templates: time 0.003525/0.2472, allocations: 0.7348 MB / 0.9366 GB, free: 18.5 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)