Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.488/2.488, allocations: 255 MB / 269.9 MB, free: 9.625 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.002262/0.002261, allocations: 192.6 kB / 329.5 MB, free: 1.152 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.836/2.836, allocations: 225.6 MB / 0.6001 GB, free: 3.715 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.001351/0.001351, allocations: 98.58 kB / 0.7074 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004831, allocations: 11.59 kB / 0.8242 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 109.1 MB / 0.9308 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003519/0.2312, allocations: 2.243 MB / 0.933 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.2341, allocations: 1.361 MB / 0.9343 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2343, allocations: 11.88 kB / 0.9343 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.2345, allocations: 27.78 kB / 0.9343 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006004/0.2351, allocations: 143.5 kB / 0.9345 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.2356, allocations: 115.7 kB / 0.9346 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.236, allocations: 275.2 kB / 0.9348 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.2368, allocations: 330.2 kB / 0.9351 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.237, allocations: 79.69 kB / 0.9352 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.2373, allocations: 107.6 kB / 0.9353 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.2373, allocations: 8 kB / 0.9353 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.2377, allocations: 123.8 kB / 0.9355 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.2378, allocations: 63.86 kB / 0.9355 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.2379, allocations: 53.58 kB / 0.9356 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.2383, allocations: 243.7 kB / 0.9358 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2383, allocations: 0 / 0.9358 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2383, allocations: 0 / 0.9358 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.2383, allocations: 4 kB / 0.9358 GB, free: 38.29 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007398/0.2391, allocations: 451.3 kB / 0.9362 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2391, allocations: 12.03 kB / 0.9362 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.2403, allocations: 80.66 kB / 0.9363 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.241, allocations: 228 kB / 0.9365 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.2411, allocations: 12.7 kB / 0.9365 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2412, allocations: 16.38 kB / 0.9366 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.2424, allocations: 328.8 kB / 0.9369 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.2424, allocations: 0 / 0.9369 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.2425, allocations: 8 kB / 0.9369 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.062e-05/0.2426, allocations: 20.27 kB / 0.9369 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.2435, allocations: 256.6 kB / 0.9372 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.2468, allocations: 1.634 MB / 0.9387 GB, free: 35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.2485, allocations: 411.2 kB / 0.9391 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.2488, allocations: 89.59 kB / 0.9392 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.2491, allocations: 89.09 kB / 0.9393 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.2492, allocations: 38.56 kB / 0.9393 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 5.46e-06/0.2492, allocations: 0 / 0.9393 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001206/0.2504, allocations: 312.5 kB / 0.9396 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.2505, allocations: 77.3 kB / 0.9397 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.2507, allocations: 176.9 kB / 0.9399 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2508, allocations: 29.64 kB / 0.9399 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2509, allocations: 151.9 kB / 0.9401 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.251, allocations: 47.3 kB / 0.9401 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2511, allocations: 8.188 kB / 0.9401 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2512, allocations: 326.8 kB / 0.9404 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.2515, allocations: 71.95 kB / 0.9405 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.2519, allocations: 146.3 kB / 0.9406 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.2523, allocations: 107.9 kB / 0.9407 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2523, allocations: 4 kB / 0.9407 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008837/0.2532, allocations: 273.2 kB / 0.941 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2533, allocations: 157.8 kB / 0.9411 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.2534, allocations: 4 kB / 0.9412 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.2534, allocations: 4 kB / 0.9412 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.254, allocations: 55.89 kB / 0.9412 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2541, allocations: 8 kB / 0.9412 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.2545, allocations: 11.98 kB / 0.9412 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.2545, allocations: 12 kB / 0.9412 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2546, allocations: 4 kB / 0.9412 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007093/0.2553, allocations: 211.6 kB / 0.9414 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2553, allocations: 4.312 kB / 0.9415 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2554, allocations: 8 kB / 0.9415 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.2559, allocations: 51.91 kB / 0.9415 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2559, allocations: 7.938 kB / 0.9415 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.2562, allocations: 19.83 kB / 0.9415 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.2563, allocations: 11.94 kB / 0.9415 GB, free: 31.92 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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 0.0002529/0.2566, allocations: 219.6 kB / 0.9418 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2567, allocations: 19.8 kB / 0.9418 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/0.2574, allocations: 207.7 kB / 0.942 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2575, allocations: 3.938 kB / 0.942 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2575, allocations: 0 / 0.942 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2575, allocations: 4 kB / 0.942 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.2601, allocations: 0.9655 MB / 0.9429 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.2602, allocations: 4.031 kB / 0.9429 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.2606, allocations: 35.92 kB / 0.943 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.2606, allocations: 4 kB / 0.943 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.2607, allocations: 8 kB / 0.943 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.2607, allocations: 7.984 kB / 0.943 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.2607, allocations: 7.938 kB / 0.943 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.2614, allocations: 436.8 kB / 0.9434 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.2616, allocations: 104.9 kB / 0.9435 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.2617, allocations: 8 kB / 0.9435 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.2622, allocations: 15.98 kB / 0.9435 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.2623, allocations: 19.8 kB / 0.9435 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.2623, allocations: 16 kB / 0.9436 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001915/0.2626, allocations: 141.9 kB / 0.9437 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.62e-07/0.2626, allocations: 0 / 0.9437 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001139/0.2637, allocations: 72 kB / 0.9438 GB, free: 29.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0002035/0.264, allocations: 115.2 kB / 0.9439 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.265, allocations: 303.8 kB / 0.9442 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.265, allocations: 0 / 0.9442 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.2653, allocations: 81.33 kB / 0.9442 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2664, allocations: 31.92 kB / 0.9443 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.268, allocations: 0.5656 MB / 0.9448 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.2684, allocations: 0.744 MB / 0.9456 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005544/0.269, allocations: 81.66 kB / 0.9456 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.2691, allocations: 19.44 kB / 0.9456 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of SimCode: time 1.683e-06/0.2692, allocations: 0 / 0.9456 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.008988/0.2782, allocations: 1.684 MB / 0.9473 GB, free: 25.73 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)