Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.99/1.99, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001308/0.001308, allocations: 187.5 kB / 393.1 MB, free: 4.082 MB / 314.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.408/1.408, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008437, allocations: 93.7 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004754, allocations: 12 kB / 0.9224 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7162, allocations: 121.3 MB / 1.041 GB, free: 58.33 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003409/0.7197, allocations: 2.271 MB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.7222, allocations: 2.466 MB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.7224, allocations: 7.875 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.7227, allocations: 29.55 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.7232, allocations: 175.5 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.7237, allocations: 139.5 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.7241, allocations: 349.1 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/0.7248, allocations: 483.8 kB / 1.047 GB, free: 53.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.725, allocations: 83.11 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.7253, allocations: 112.2 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.7254, allocations: 9.188 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.7258, allocations: 265.8 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.726, allocations: 58.14 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.7261, allocations: 108.7 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.7266, allocations: 319.7 kB / 1.048 GB, free: 53.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7266, allocations: 6.438 kB / 1.048 GB, free: 53.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7266, allocations: 3.438 kB / 1.048 GB, free: 53.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.7266, allocations: 0 / 1.048 GB, free: 53.59 MB / 0.698 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.0006881/0.7273, allocations: 467 kB / 1.048 GB, free: 53.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7274, allocations: 7.781 kB / 1.048 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/0.728, allocations: 79.53 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.7282, allocations: 229.1 kB / 1.048 GB, free: 52.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.7283, allocations: 11.7 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.7283, allocations: 21.56 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.7288, allocations: 323.2 kB / 1.049 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.7288, allocations: 2.219 kB / 1.049 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.7289, allocations: 9.812 kB / 1.049 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.7289, allocations: 22.97 kB / 1.049 GB, free: 52.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.7293, allocations: 249.4 kB / 1.049 GB, free: 52.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.7307, allocations: 1.638 MB / 1.051 GB, free: 51.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.7313, allocations: 410.6 kB / 1.051 GB, free: 50.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.7314, allocations: 82.88 kB / 1.051 GB, free: 50.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.7316, allocations: 87.83 kB / 1.051 GB, free: 50.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.7316, allocations: 38.91 kB / 1.051 GB, free: 50.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.7316, allocations: 0 / 1.051 GB, free: 50.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006377/0.7323, allocations: 309.8 kB / 1.051 GB, free: 50.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.7323, allocations: 80.52 kB / 1.051 GB, free: 50.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.7324, allocations: 167.3 kB / 1.052 GB, free: 50.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.7325, allocations: 25.7 kB / 1.052 GB, free: 50.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.7325, allocations: 158.4 kB / 1.052 GB, free: 50.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.7326, allocations: 52.67 kB / 1.052 GB, free: 50.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.7326, allocations: 4 kB / 1.052 GB, free: 50.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.7327, allocations: 322.5 kB / 1.052 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.7328, allocations: 81.31 kB / 1.052 GB, free: 49.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.7329, allocations: 157 kB / 1.052 GB, free: 49.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.7332, allocations: 243.1 kB / 1.053 GB, free: 49.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7332, allocations: 2.781 kB / 1.053 GB, free: 49.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003706/0.7336, allocations: 266.9 kB / 1.053 GB, free: 49.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.7337, allocations: 175 kB / 1.053 GB, free: 49.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7337, allocations: 2.5 kB / 1.053 GB, free: 49.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7337, allocations: 6.688 kB / 1.053 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.7339, allocations: 52.06 kB / 1.053 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.734, allocations: 6.375 kB / 1.053 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.7341, allocations: 19.69 kB / 1.053 GB, free: 49.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.7341, allocations: 9.312 kB / 1.053 GB, free: 49.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.7341, allocations: 4.594 kB / 1.053 GB, free: 49.17 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002926/0.7344, allocations: 216.6 kB / 1.053 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7345, allocations: 6.281 kB / 1.053 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.7345, allocations: 4.062 kB / 1.053 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.7346, allocations: 48.06 kB / 1.053 GB, free: 49.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7347, allocations: 3.438 kB / 1.053 GB, free: 49.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.7348, allocations: 22.3 kB / 1.053 GB, free: 49.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.7348, allocations: 10.91 kB / 1.053 GB, free: 49.07 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.7349, allocations: 233.1 kB / 1.054 GB, free: 48.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.735, allocations: 12.75 kB / 1.054 GB, free: 48.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.7353, allocations: 198.3 kB / 1.054 GB, free: 48.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7353, allocations: 3.844 kB / 1.054 GB, free: 48.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7353, allocations: 3.938 kB / 1.054 GB, free: 48.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7353, allocations: 0.75 kB / 1.054 GB, free: 48.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7364, allocations: 0.9605 MB / 1.055 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7364, allocations: 3.438 kB / 1.055 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.7365, allocations: 37.38 kB / 1.055 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.7365, allocations: 2.391 kB / 1.055 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.7366, allocations: 10.22 kB / 1.055 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7366, allocations: 3 kB / 1.055 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7366, allocations: 9.703 kB / 1.055 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.7369, allocations: 443.4 kB / 1.055 GB, free: 47.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.737, allocations: 112.1 kB / 1.055 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.737, allocations: 12.42 kB / 1.055 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.7372, allocations: 12.83 kB / 1.055 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.7373, allocations: 25.33 kB / 1.055 GB, free: 47.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.7373, allocations: 8.094 kB / 1.055 GB, free: 47.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.837e-05/0.7374, allocations: 136 kB / 1.056 GB, free: 47.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7374, allocations: 0 / 1.056 GB, free: 47.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004559/0.7378, allocations: 69.12 kB / 1.056 GB, free: 47.42 MB / 0.698 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 (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.0001331/0.738, allocations: 120.9 kB / 1.056 GB, free: 47.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.7384, allocations: 292.3 kB / 1.056 GB, free: 47.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7384, allocations: 4.656 kB / 1.056 GB, free: 47.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.7385, allocations: 90.02 kB / 1.056 GB, free: 47.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.739, allocations: 35.66 kB / 1.056 GB, free: 47.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.7398, allocations: 0.5569 MB / 1.057 GB, free: 46.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.74, allocations: 0.7518 MB / 1.057 GB, free: 46.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.7402, allocations: 77.69 kB / 1.058 GB, free: 46.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.7403, allocations: 16.86 kB / 1.058 GB, free: 46.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.7403, allocations: 0.7812 kB / 1.058 GB, free: 46.05 MB / 0.698 GB Notification: Performance of Templates: time 0.004487/0.7448, allocations: 1.701 MB / 1.059 GB, free: 45.92 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)