Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 255.9 MB / 271.2 MB, free: 8.914 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.001087/0.001087, allocations: 186 kB / 330.8 MB, free: 484 kB / 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 1.683/1.683, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.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.0008663/0.0008665, allocations: 97.44 kB / 0.709 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003371, allocations: 14 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2008, allocations: 109.2 MB / 0.9328 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002752/0.2036, allocations: 2.265 MB / 0.935 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2058, allocations: 2.481 MB / 0.9374 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.206, allocations: 4 kB / 0.9374 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2062, allocations: 27.78 kB / 0.9374 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.2067, allocations: 171.4 kB / 0.9376 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.2072, allocations: 143.7 kB / 0.9377 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.2075, allocations: 347.1 kB / 0.9381 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006194/0.2081, allocations: 493 kB / 0.9385 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2083, allocations: 83.62 kB / 0.9386 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.2086, allocations: 99.64 kB / 0.9387 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.2087, allocations: 8 kB / 0.9387 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.2091, allocations: 263.5 kB / 0.939 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.2092, allocations: 63.8 kB / 0.939 GB, free: 17.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.2093, allocations: 105.2 kB / 0.9391 GB, free: 17.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.2097, allocations: 339.1 kB / 0.9394 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2097, allocations: 0 / 0.9394 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2097, allocations: 0 / 0.9394 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2098, allocations: 0 / 0.9394 GB, free: 16.93 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000604/0.2104, allocations: 455.3 kB / 0.9399 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2104, allocations: 11.98 kB / 0.9399 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.211, allocations: 80.56 kB / 0.94 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.2112, allocations: 224.1 kB / 0.9402 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2113, allocations: 20.69 kB / 0.9402 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.2113, allocations: 12.38 kB / 0.9402 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.2117, allocations: 321 kB / 0.9405 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2118, allocations: 11.94 kB / 0.9405 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2118, allocations: 7.984 kB / 0.9405 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.2118, allocations: 20.27 kB / 0.9406 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.2122, allocations: 253.7 kB / 0.9408 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.2137, allocations: 1.638 MB / 0.9424 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.2143, allocations: 411.1 kB / 0.9428 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.2144, allocations: 85.86 kB / 0.9429 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.2146, allocations: 93.09 kB / 0.943 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.2146, allocations: 34.5 kB / 0.943 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/0.2146, allocations: 0 / 0.943 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0006565/0.2153, allocations: 304.5 kB / 0.9433 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2153, allocations: 85.05 kB / 0.9434 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2154, allocations: 172.8 kB / 0.9435 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2155, allocations: 37.91 kB / 0.9436 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.2155, allocations: 143.9 kB / 0.9437 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.2156, allocations: 51.23 kB / 0.9438 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.2156, allocations: 4 kB / 0.9438 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.2157, allocations: 326.8 kB / 0.9441 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.2158, allocations: 75.95 kB / 0.9441 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2159, allocations: 150.9 kB / 0.9443 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2161, allocations: 241.2 kB / 0.9445 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2161, allocations: 4 kB / 0.9445 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003565/0.2165, allocations: 273.2 kB / 0.9448 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.2166, allocations: 165.7 kB / 0.9449 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2166, allocations: 4 kB / 0.9449 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2166, allocations: 4 kB / 0.9449 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2169, allocations: 55.89 kB / 0.945 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2169, allocations: 4 kB / 0.945 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.217, allocations: 19.98 kB / 0.945 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.217, allocations: 11.98 kB / 0.945 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.2171, allocations: 0 / 0.945 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002567/0.2173, allocations: 211.8 kB / 0.9452 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2173, allocations: 4 kB / 0.9452 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.2173, allocations: 4.312 kB / 0.9452 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2175, allocations: 51.91 kB / 0.9453 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2175, allocations: 4 kB / 0.9453 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.913e-05/0.2176, allocations: 27.77 kB / 0.9453 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2176, allocations: 8 kB / 0.9453 GB, free: 10.38 MB / 0.5886 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.0001259/0.2178, allocations: 225.7 kB / 0.9455 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.2178, allocations: 7.906 kB / 0.9456 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.2181, allocations: 207.7 kB / 0.9458 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2181, allocations: 0 / 0.9458 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2182, allocations: 7.875 kB / 0.9458 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2182, allocations: 4 kB / 0.9458 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.2191, allocations: 0.9612 MB / 0.9467 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2191, allocations: 4.438 kB / 0.9467 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.2193, allocations: 39.92 kB / 0.9467 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2193, allocations: 4 kB / 0.9467 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2193, allocations: 7.984 kB / 0.9468 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2193, allocations: 8 kB / 0.9468 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2193, allocations: 7.938 kB / 0.9468 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.2196, allocations: 436.8 kB / 0.9472 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.2196, allocations: 108.8 kB / 0.9473 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.2197, allocations: 15.98 kB / 0.9473 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2199, allocations: 11.98 kB / 0.9473 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.2199, allocations: 11.94 kB / 0.9473 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2199, allocations: 11.98 kB / 0.9473 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.359e-05/0.22, allocations: 138 kB / 0.9475 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.31e-07/0.22, allocations: 0 / 0.9475 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004934/0.2205, allocations: 75.94 kB / 0.9475 GB, free: 7.914 MB / 0.5886 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.0001372/0.2207, allocations: 123.1 kB / 0.9477 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.2211, allocations: 300.2 kB / 0.9479 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2211, allocations: 0 / 0.9479 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.208e-05/0.2212, allocations: 79.83 kB / 0.948 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.2217, allocations: 39.11 kB / 0.9481 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.2225, allocations: 0.5594 MB / 0.9486 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2227, allocations: 0.7479 MB / 0.9493 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.223, allocations: 81.48 kB / 0.9494 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.223, allocations: 19.44 kB / 0.9494 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of SimCode: time 2.21e-07/0.223, allocations: 0 / 0.9494 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of Templates: time 0.004146/0.2272, allocations: 1.721 MB / 0.9511 GB, free: 4.156 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)