Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.829/1.829, allocations: 291.7 MB / 306.8 MB, free: 7.66 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.0009822/0.0009823, allocations: 178.5 kB / 375.4 MB, free: 5.113 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.53/1.53, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.000837/0.000837, allocations: 90.77 kB / 0.7699 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 16 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.784, allocations: 118.1 MB / 1.011 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004088/0.7882, allocations: 2.657 MB / 1.014 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.7911, allocations: 1.605 MB / 1.015 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.7913, allocations: 2.969 kB / 1.015 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.7916, allocations: 41.95 kB / 1.015 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.7921, allocations: 163.4 kB / 1.015 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.7926, allocations: 138 kB / 1.015 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.7931, allocations: 381 kB / 1.016 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.794, allocations: 0.515 MB / 1.016 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.7942, allocations: 112.6 kB / 1.016 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.7945, allocations: 146.4 kB / 1.017 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.7945, allocations: 14.72 kB / 1.017 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.7949, allocations: 137.1 kB / 1.017 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.795, allocations: 88.7 kB / 1.017 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.7951, allocations: 65.08 kB / 1.017 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.7954, allocations: 320.1 kB / 1.017 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7955, allocations: 0 / 1.017 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7955, allocations: 0.5 kB / 1.017 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.7955, allocations: 1.281 kB / 1.017 GB, free: 57.37 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009305/0.7964, allocations: 0.5051 MB / 1.018 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.7965, allocations: 13.62 kB / 1.018 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.7971, allocations: 91.31 kB / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.7975, allocations: 248 kB / 1.018 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.7975, allocations: 23.22 kB / 1.018 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.7976, allocations: 28.95 kB / 1.018 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.7982, allocations: 371.1 kB / 1.018 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.7982, allocations: 0 / 1.018 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.7983, allocations: 8.531 kB / 1.018 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.613e-05/0.7984, allocations: 34.34 kB / 1.018 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.7988, allocations: 308.2 kB / 1.019 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.8004, allocations: 1.527 MB / 1.02 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.8008, allocations: 231.7 kB / 1.02 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.801, allocations: 116.4 kB / 1.021 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.8011, allocations: 87.06 kB / 1.021 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.8012, allocations: 40.62 kB / 1.021 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.8012, allocations: 0 / 1.021 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001238/0.8024, allocations: 0.7859 MB / 1.021 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.8025, allocations: 59.06 kB / 1.021 GB, free: 55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.8027, allocations: 193.7 kB / 1.022 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.8027, allocations: 30.05 kB / 1.022 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.8028, allocations: 164.7 kB / 1.022 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.8029, allocations: 68 kB / 1.022 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.8029, allocations: 4.969 kB / 1.022 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.803, allocations: 333.2 kB / 1.022 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.8031, allocations: 113.4 kB / 1.022 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.8034, allocations: 166.1 kB / 1.022 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.8037, allocations: 297 kB / 1.023 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.8038, allocations: 0 / 1.023 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006825/0.8044, allocations: 418.5 kB / 1.023 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.8045, allocations: 5.719 kB / 1.023 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.8045, allocations: 2.375 kB / 1.023 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.8049, allocations: 96.81 kB / 1.023 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.8052, allocations: 58.19 kB / 1.023 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.8068, allocations: 1.734 MB / 1.025 GB, free: 52.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.807, allocations: 13.17 kB / 1.025 GB, free: 52.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.807, allocations: 12.25 kB / 1.025 GB, free: 52.92 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.8072, allocations: 165 kB / 1.025 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.8072, allocations: 13.97 kB / 1.025 GB, free: 52.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000463/0.8077, allocations: 302.4 kB / 1.025 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8077, allocations: 2.906 kB / 1.025 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.8077, allocations: 1.062 kB / 1.025 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8077, allocations: 2.719 kB / 1.025 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.8085, allocations: 0.7079 MB / 1.026 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8085, allocations: 3 kB / 1.026 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.8088, allocations: 53.52 kB / 1.026 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8088, allocations: 6.844 kB / 1.026 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.8089, allocations: 6.938 kB / 1.026 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8089, allocations: 0 / 1.026 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.8089, allocations: 8.938 kB / 1.026 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.8094, allocations: 0.5133 MB / 1.027 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.8095, allocations: 115.3 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.8096, allocations: 10.25 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.8097, allocations: 17.59 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.8098, allocations: 12.77 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.8098, allocations: 5.812 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001104/0.8099, allocations: 154.3 kB / 1.027 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8099, allocations: 0 / 1.027 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003552/0.8103, allocations: 62.81 kB / 1.027 GB, free: 52.05 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001628/0.8105, allocations: 113.4 kB / 1.027 GB, free: 51.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007102/0.8112, allocations: 427.1 kB / 1.028 GB, free: 51.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8112, allocations: 0 / 1.028 GB, free: 51.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.8114, allocations: 121 kB / 1.028 GB, free: 51.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.8118, allocations: 31.14 kB / 1.028 GB, free: 51.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.813, allocations: 0.7596 MB / 1.029 GB, free: 51.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.8133, allocations: 0.7789 MB / 1.029 GB, free: 50.72 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.8134, allocations: 57.33 kB / 1.029 GB, free: 50.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.8135, allocations: 21.64 kB / 1.029 GB, free: 50.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8135, allocations: 0 / 1.029 GB, free: 50.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.005865/0.8194, allocations: 2.566 MB / 1.032 GB, free: 50.61 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)