Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.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.817/1.817, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001423/0.001423, allocations: 179.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.562/1.562, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0009935/0.0009937, allocations: 90.03 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006439/0.0006441, allocations: 11.98 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8501, allocations: 121.3 MB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004144/0.8543, allocations: 2.696 MB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.8575, allocations: 2.774 MB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.8577, allocations: 7.094 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.8579, allocations: 35.84 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.8584, allocations: 202.7 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.8589, allocations: 161.8 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.8593, allocations: 458.8 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009187/0.8603, allocations: 0.8234 MB / 1.048 GB, free: 53.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.8605, allocations: 116.5 kB / 1.048 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.8608, allocations: 155.7 kB / 1.048 GB, free: 52.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.8609, allocations: 10.19 kB / 1.048 GB, free: 52.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.8613, allocations: 275.5 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.8614, allocations: 85.91 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.8616, allocations: 132.1 kB / 1.049 GB, free: 52.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.8622, allocations: 423.4 kB / 1.049 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8622, allocations: 0 / 1.049 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8622, allocations: 0 / 1.049 GB, free: 52.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.8622, allocations: 0.625 kB / 1.049 GB, free: 52.68 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008513/0.8631, allocations: 0.5126 MB / 1.049 GB, free: 52.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8631, allocations: 8.562 kB / 1.05 GB, free: 52.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006605/0.8638, allocations: 95.12 kB / 1.05 GB, free: 52.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.8641, allocations: 256.2 kB / 1.05 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.8641, allocations: 14.38 kB / 1.05 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.8642, allocations: 26.67 kB / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.8648, allocations: 378.3 kB / 1.05 GB, free: 51.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.8648, allocations: 1.594 kB / 1.05 GB, free: 51.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.8648, allocations: 6.031 kB / 1.05 GB, free: 51.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-05/0.8649, allocations: 32.88 kB / 1.05 GB, free: 51.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.8654, allocations: 305.2 kB / 1.051 GB, free: 51.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.867, allocations: 1.536 MB / 1.052 GB, free: 50.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.8674, allocations: 237.7 kB / 1.052 GB, free: 50.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.8676, allocations: 118.4 kB / 1.052 GB, free: 50.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.8677, allocations: 89.64 kB / 1.052 GB, free: 50.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.8678, allocations: 32.75 kB / 1.053 GB, free: 50.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.8678, allocations: 0 / 1.053 GB, free: 50.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00123/0.869, allocations: 0.797 MB / 1.053 GB, free: 49.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.869, allocations: 55.34 kB / 1.053 GB, free: 49.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.8692, allocations: 192.4 kB / 1.054 GB, free: 49.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.8693, allocations: 31.33 kB / 1.054 GB, free: 49.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.8694, allocations: 158.3 kB / 1.054 GB, free: 49.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.8694, allocations: 75.39 kB / 1.054 GB, free: 49.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.8694, allocations: 4 kB / 1.054 GB, free: 49.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.8695, allocations: 334.3 kB / 1.054 GB, free: 48.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.8697, allocations: 110 kB / 1.054 GB, free: 48.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.8699, allocations: 162.2 kB / 1.054 GB, free: 48.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.8703, allocations: 298.1 kB / 1.055 GB, free: 48.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8703, allocations: 0.9688 kB / 1.055 GB, free: 48.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007231/0.871, allocations: 418 kB / 1.055 GB, free: 48.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.871, allocations: 5.031 kB / 1.055 GB, free: 48.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8711, allocations: 2.219 kB / 1.055 GB, free: 48.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.8715, allocations: 98.05 kB / 1.055 GB, free: 48.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.8717, allocations: 60.22 kB / 1.055 GB, free: 48.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.8733, allocations: 1.729 MB / 1.057 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.8735, allocations: 15.91 kB / 1.057 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.8736, allocations: 11.53 kB / 1.057 GB, free: 46.88 MB / 0.698 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.8737, allocations: 152.7 kB / 1.057 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.8738, allocations: 21.59 kB / 1.057 GB, free: 46.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.8743, allocations: 306.2 kB / 1.057 GB, free: 46.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8743, allocations: 3.938 kB / 1.057 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.8743, allocations: 0 / 1.057 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8743, allocations: 5.344 kB / 1.057 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.8752, allocations: 0.7036 MB / 1.058 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8752, allocations: 1.344 kB / 1.058 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.8755, allocations: 62.91 kB / 1.058 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8755, allocations: 4 kB / 1.058 GB, free: 46.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.8755, allocations: 4.938 kB / 1.058 GB, free: 46.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8756, allocations: 1.469 kB / 1.058 GB, free: 46.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8756, allocations: 5.438 kB / 1.058 GB, free: 46.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.8761, allocations: 0.5126 MB / 1.059 GB, free: 45.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.8762, allocations: 115.6 kB / 1.059 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.8763, allocations: 2.234 kB / 1.059 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.8764, allocations: 20.42 kB / 1.059 GB, free: 45.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.8765, allocations: 11.2 kB / 1.059 GB, free: 45.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.8765, allocations: 7.156 kB / 1.059 GB, free: 45.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001298/0.8766, allocations: 144.2 kB / 1.059 GB, free: 45.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8767, allocations: 1.062 kB / 1.059 GB, free: 45.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003302/0.877, allocations: 65.66 kB / 1.059 GB, free: 45.59 MB / 0.698 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 (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.0001524/0.8771, allocations: 124.4 kB / 1.059 GB, free: 45.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006847/0.8778, allocations: 416.4 kB / 1.06 GB, free: 45.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8779, allocations: 0 / 1.06 GB, free: 45.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.878, allocations: 120.9 kB / 1.06 GB, free: 45.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.8785, allocations: 38.31 kB / 1.06 GB, free: 45.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.8796, allocations: 0.7678 MB / 1.06 GB, free: 44.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.8798, allocations: 0.7744 MB / 1.061 GB, free: 44.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.88, allocations: 68.31 kB / 1.061 GB, free: 44.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.8801, allocations: 16.47 kB / 1.061 GB, free: 44.01 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8801, allocations: 3.031 kB / 1.061 GB, free: 44.01 MB / 0.698 GB Notification: Performance of Templates: time 0.00587/0.886, allocations: 2.633 MB / 1.064 GB, free: 43.84 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)