Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.652/1.652, allocations: 291.7 MB / 306.8 MB, free: 7.652 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.001085/0.001085, allocations: 185.6 kB / 375.4 MB, free: 5.109 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.44/1.44, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0009901/0.0009906, allocations: 97.48 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003915, allocations: 8 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6942, allocations: 118.1 MB / 1.011 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00267/0.697, allocations: 2.24 MB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.6987, allocations: 1.369 MB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.6988, allocations: 2.75 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.6989, allocations: 34.5 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.6993, allocations: 135.2 kB / 1.015 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.6996, allocations: 120.3 kB / 1.015 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.6998, allocations: 281.8 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.7003, allocations: 330 kB / 1.015 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.7005, allocations: 75.62 kB / 1.015 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.7007, allocations: 108.4 kB / 1.015 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.7007, allocations: 7.938 kB / 1.015 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.7009, allocations: 129.6 kB / 1.016 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.701, allocations: 56.67 kB / 1.016 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.701, allocations: 61.91 kB / 1.016 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.7013, allocations: 239.8 kB / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7013, allocations: 0 / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7013, allocations: 4.062 kB / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.7013, allocations: 0 / 1.016 GB, free: 57.19 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005038/0.7018, allocations: 458.8 kB / 1.016 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.7018, allocations: 8.781 kB / 1.016 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005041/0.7024, allocations: 86.08 kB / 1.016 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.7026, allocations: 227.6 kB / 1.017 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7026, allocations: 11.89 kB / 1.017 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.7026, allocations: 18.78 kB / 1.017 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.703, allocations: 320.2 kB / 1.017 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.7031, allocations: 7.094 kB / 1.017 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.7031, allocations: 5.125 kB / 1.017 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.7031, allocations: 19.75 kB / 1.017 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.7034, allocations: 253.2 kB / 1.017 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.7046, allocations: 1.634 MB / 1.019 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.7051, allocations: 414.6 kB / 1.019 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.7052, allocations: 87.48 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.7053, allocations: 84.7 kB / 1.019 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.7054, allocations: 43.53 kB / 1.02 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.7054, allocations: 0 / 1.02 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005272/0.7059, allocations: 310.5 kB / 1.02 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.7059, allocations: 78.2 kB / 1.02 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.7061, allocations: 175.2 kB / 1.02 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.7061, allocations: 27.95 kB / 1.02 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.7061, allocations: 149.4 kB / 1.02 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.7062, allocations: 51.44 kB / 1.02 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-06/0.7062, allocations: 3.812 kB / 1.02 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.7062, allocations: 325.2 kB / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.7063, allocations: 78.3 kB / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.7065, allocations: 147.1 kB / 1.021 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.7067, allocations: 248.4 kB / 1.021 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7067, allocations: 0 / 1.021 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003164/0.707, allocations: 273.7 kB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.7071, allocations: 165.9 kB / 1.021 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7071, allocations: 2.906 kB / 1.021 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7071, allocations: 5.938 kB / 1.021 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.7073, allocations: 54.7 kB / 1.022 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7074, allocations: 6.969 kB / 1.022 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.7075, allocations: 18.22 kB / 1.022 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.7075, allocations: 9.875 kB / 1.022 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-06/0.7075, allocations: 2.875 kB / 1.022 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002601/0.7078, allocations: 207.4 kB / 1.022 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.7078, allocations: 5 kB / 1.022 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/0.7078, allocations: 2.938 kB / 1.022 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.708, allocations: 56.94 kB / 1.022 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.708, allocations: 6.688 kB / 1.022 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.973e-05/0.7081, allocations: 21.73 kB / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.7081, allocations: 8.688 kB / 1.022 GB, free: 53.49 MB / 0.7136 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.0001033/0.7082, allocations: 228.9 kB / 1.022 GB, free: 53.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.7083, allocations: 13.41 kB / 1.022 GB, free: 53.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.7086, allocations: 204.7 kB / 1.022 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7086, allocations: 0 / 1.022 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7086, allocations: 6.719 kB / 1.022 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.7086, allocations: 0 / 1.022 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.7096, allocations: 0.9677 MB / 1.023 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.7096, allocations: 2.906 kB / 1.023 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.7097, allocations: 39.08 kB / 1.023 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7097, allocations: 2.938 kB / 1.023 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.7098, allocations: 5.812 kB / 1.023 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.7098, allocations: 2.844 kB / 1.023 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7098, allocations: 6.875 kB / 1.023 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.71, allocations: 448.7 kB / 1.024 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.7101, allocations: 108.5 kB / 1.024 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.7101, allocations: 4.844 kB / 1.024 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.7103, allocations: 13.88 kB / 1.024 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.7104, allocations: 24.41 kB / 1.024 GB, free: 52.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.7104, allocations: 6.438 kB / 1.024 GB, free: 52.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.466e-05/0.7105, allocations: 133.8 kB / 1.024 GB, free: 52.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7105, allocations: 0 / 1.024 GB, free: 52.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004292/0.7109, allocations: 73 kB / 1.024 GB, free: 52.11 MB / 0.7136 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.0001056/0.711, allocations: 115.5 kB / 1.024 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.7114, allocations: 304.4 kB / 1.024 GB, free: 52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7114, allocations: 0 / 1.024 GB, free: 52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/0.7115, allocations: 82.02 kB / 1.025 GB, free: 51.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.712, allocations: 51.7 kB / 1.025 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.7127, allocations: 0.5608 MB / 1.025 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.7128, allocations: 0.75 MB / 1.026 GB, free: 50.92 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.713, allocations: 77.11 kB / 1.026 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.7131, allocations: 15.72 kB / 1.026 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.7131, allocations: 0 / 1.026 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.003634/0.7167, allocations: 1.672 MB / 1.028 GB, free: 50.82 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)