Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.339/2.339, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001781/0.001781, allocations: 185 kB / 329.5 MB, free: 1.176 MB / 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 2.388/2.388, allocations: 225.6 MB / 0.6001 GB, free: 2.164 MB / 426.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.0009571/0.0009569, allocations: 101.6 kB / 0.7074 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005012, allocations: 10.12 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004085/0.2203, allocations: 2.663 MB / 0.9334 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003254/0.2236, allocations: 1.606 MB / 0.9349 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.2239, allocations: 4 kB / 0.9349 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.2241, allocations: 39.66 kB / 0.935 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006164/0.2248, allocations: 171.2 kB / 0.9351 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.2254, allocations: 135.7 kB / 0.9353 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.2259, allocations: 374.8 kB / 0.9356 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.227, allocations: 495.4 kB / 0.9361 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.2273, allocations: 115.5 kB / 0.9362 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.2277, allocations: 151.5 kB / 0.9364 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.2277, allocations: 12 kB / 0.9364 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.2282, allocations: 135.8 kB / 0.9365 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.2283, allocations: 95.75 kB / 0.9366 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.2284, allocations: 61.58 kB / 0.9366 GB, free: 19.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.2289, allocations: 315.5 kB / 0.9369 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2289, allocations: 0 / 0.9369 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2289, allocations: 4 kB / 0.937 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2289, allocations: 0 / 0.937 GB, free: 18.72 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001073/0.23, allocations: 0.5031 MB / 0.9374 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.23, allocations: 11.97 kB / 0.9375 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.2311, allocations: 100.5 kB / 0.9376 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.2315, allocations: 251.9 kB / 0.9378 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.2316, allocations: 16.81 kB / 0.9378 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.2317, allocations: 32.45 kB / 0.9378 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.2325, allocations: 373 kB / 0.9382 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.2325, allocations: 0 / 0.9382 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.2326, allocations: 11.94 kB / 0.9382 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.2327, allocations: 28.42 kB / 0.9382 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.2334, allocations: 305.5 kB / 0.9385 GB, free: 17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2358, allocations: 1.525 MB / 0.94 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.2364, allocations: 226.4 kB / 0.9402 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.2367, allocations: 120.8 kB / 0.9403 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.2369, allocations: 89.09 kB / 0.9404 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2369, allocations: 38.56 kB / 0.9405 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.725e-06/0.2369, allocations: 3.938 kB / 0.9405 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.001697/0.2386, allocations: 0.7826 MB / 0.9412 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.2387, allocations: 55.41 kB / 0.9413 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.2389, allocations: 203 kB / 0.9415 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.2389, allocations: 29.7 kB / 0.9415 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.239, allocations: 171.8 kB / 0.9417 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.2391, allocations: 67.09 kB / 0.9417 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.2391, allocations: 4 kB / 0.9417 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.2392, allocations: 326.8 kB / 0.9421 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.2395, allocations: 111.9 kB / 0.9422 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.2398, allocations: 173.9 kB / 0.9423 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.2401, allocations: 133.5 kB / 0.9425 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2401, allocations: 0 / 0.9425 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001097/0.2412, allocations: 422.8 kB / 0.9429 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2413, allocations: 4 kB / 0.9429 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2413, allocations: 4 kB / 0.9429 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.2419, allocations: 96.89 kB / 0.943 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.2424, allocations: 55.89 kB / 0.943 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.2447, allocations: 1.734 MB / 0.9447 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.2451, allocations: 20 kB / 0.9447 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.2451, allocations: 8 kB / 0.9447 GB, free: 10.19 MB / 0.5886 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.0002007/0.2454, allocations: 161.7 kB / 0.9449 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.2454, allocations: 15.81 kB / 0.9449 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/0.2461, allocations: 298.2 kB / 0.9452 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2462, allocations: 7.938 kB / 0.9452 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2462, allocations: 0 / 0.9452 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2462, allocations: 0 / 0.9452 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.2474, allocations: 0.7067 MB / 0.9459 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2474, allocations: 4.062 kB / 0.9459 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.248, allocations: 59.95 kB / 0.9459 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.248, allocations: 0 / 0.9459 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.248, allocations: 4 kB / 0.9459 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.248, allocations: 7.875 kB / 0.946 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2481, allocations: 3.938 kB / 0.946 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.2489, allocations: 0.5163 MB / 0.9465 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.2491, allocations: 120.9 kB / 0.9466 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.2492, allocations: 4 kB / 0.9466 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.2495, allocations: 15.92 kB / 0.9466 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.2495, allocations: 11.98 kB / 0.9466 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.2496, allocations: 8 kB / 0.9466 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00016/0.2497, allocations: 144.9 kB / 0.9468 GB, free: 8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2498, allocations: 3.938 kB / 0.9468 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004864/0.2502, allocations: 68 kB / 0.9468 GB, free: 7.93 MB / 0.5886 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.0001731/0.2504, allocations: 119.8 kB / 0.9469 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.2514, allocations: 423.6 kB / 0.9473 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2515, allocations: 0 / 0.9473 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.2517, allocations: 124.2 kB / 0.9475 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.2523, allocations: 37.61 kB / 0.9475 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.2539, allocations: 0.7565 MB / 0.9482 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.2542, allocations: 0.7717 MB / 0.949 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.2545, allocations: 53.91 kB / 0.949 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2547, allocations: 19.44 kB / 0.9491 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/0.2547, allocations: 0 / 0.9491 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of Templates: time 0.008547/0.2632, allocations: 2.577 MB / 0.9516 GB, free: 2.992 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)