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.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.537/1.537, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.0009898/0.0009897, allocations: 177.6 kB / 330.8 MB, free: 480 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.775/1.775, allocations: 225.7 MB / 0.6016 GB, free: 15.89 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.0009036/0.0009032, allocations: 99.56 kB / 0.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8.688 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2224, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003047/0.2255, allocations: 2.686 MB / 0.9354 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2282, allocations: 2.786 MB / 0.9381 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.2284, allocations: 7.938 kB / 0.9381 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.2286, allocations: 35.7 kB / 0.9381 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.2291, allocations: 195.3 kB / 0.9383 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.2296, allocations: 167.7 kB / 0.9385 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.23, allocations: 474.7 kB / 0.9389 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008383/0.2309, allocations: 0.8098 MB / 0.9397 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.231, allocations: 111.6 kB / 0.9398 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.2313, allocations: 147.5 kB / 0.94 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.2314, allocations: 15.94 kB / 0.94 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.2318, allocations: 279.4 kB / 0.9403 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2319, allocations: 91.72 kB / 0.9403 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.232, allocations: 133.2 kB / 0.9405 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.2325, allocations: 422.9 kB / 0.9409 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2325, allocations: 0 / 0.9409 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2325, allocations: 3.938 kB / 0.9409 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2325, allocations: 0 / 0.9409 GB, free: 15.37 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.0009273/0.2335, allocations: 0.503 MB / 0.9414 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2335, allocations: 15.98 kB / 0.9414 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/0.2342, allocations: 92.55 kB / 0.9415 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2345, allocations: 248 kB / 0.9417 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2345, allocations: 16.8 kB / 0.9417 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.2346, allocations: 32.47 kB / 0.9418 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.2351, allocations: 377.1 kB / 0.9421 GB, free: 14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2351, allocations: 4 kB / 0.9421 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2352, allocations: 4 kB / 0.9421 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-05/0.2353, allocations: 28.42 kB / 0.9422 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.2357, allocations: 305.5 kB / 0.9424 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.2371, allocations: 1.537 MB / 0.9439 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.2375, allocations: 238.4 kB / 0.9442 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2377, allocations: 124.6 kB / 0.9443 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.2378, allocations: 89.09 kB / 0.9444 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2378, allocations: 30.56 kB / 0.9444 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2378, allocations: 8 kB / 0.9444 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.00114/0.239, allocations: 0.782 MB / 0.9452 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.239, allocations: 59.41 kB / 0.9452 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.2392, allocations: 198.2 kB / 0.9454 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2392, allocations: 33.7 kB / 0.9455 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.2393, allocations: 155.9 kB / 0.9456 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.2394, allocations: 67.02 kB / 0.9457 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.2394, allocations: 4 kB / 0.9457 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.2395, allocations: 334.8 kB / 0.946 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.2397, allocations: 111.9 kB / 0.9461 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.2398, allocations: 164.6 kB / 0.9463 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.2401, allocations: 299.8 kB / 0.9465 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2402, allocations: 0 / 0.9465 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000636/0.2408, allocations: 411.7 kB / 0.9469 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2408, allocations: 8 kB / 0.9469 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2408, allocations: 0 / 0.9469 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.2413, allocations: 104.9 kB / 0.947 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.2415, allocations: 51.91 kB / 0.9471 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.243, allocations: 1.745 MB / 0.9488 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2432, allocations: 15.98 kB / 0.9488 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.2432, allocations: 15.98 kB / 0.9488 GB, free: 6.66 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 (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.0001291/0.2433, allocations: 154.4 kB / 0.949 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.2434, allocations: 15.81 kB / 0.949 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.2438, allocations: 299.6 kB / 0.9493 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2438, allocations: 4 kB / 0.9493 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.2438, allocations: 0 / 0.9493 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2438, allocations: 3.984 kB / 0.9493 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.2445, allocations: 0.7067 MB / 0.95 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2445, allocations: 8.062 kB / 0.95 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.2448, allocations: 51.95 kB / 0.95 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2448, allocations: 4 kB / 0.95 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2449, allocations: 4 kB / 0.95 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2449, allocations: 4 kB / 0.95 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2449, allocations: 7.875 kB / 0.95 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.2453, allocations: 0.5046 MB / 0.9505 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.2454, allocations: 120.9 kB / 0.9507 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.2455, allocations: 11.98 kB / 0.9507 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2456, allocations: 15.92 kB / 0.9507 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.2457, allocations: 11.98 kB / 0.9507 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2457, allocations: 8 kB / 0.9507 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.699e-05/0.2458, allocations: 148 kB / 0.9508 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2458, allocations: 0 / 0.9508 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003184/0.2461, allocations: 64 kB / 0.9509 GB, free: 4.41 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 (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.0001554/0.2463, allocations: 115.2 kB / 0.951 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.2469, allocations: 426.3 kB / 0.9514 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2469, allocations: 0 / 0.9514 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2471, allocations: 121.5 kB / 0.9515 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.2474, allocations: 31.98 kB / 0.9516 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2485, allocations: 0.7705 MB / 0.9523 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.2487, allocations: 0.7756 MB / 0.9531 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.2488, allocations: 61.91 kB / 0.9531 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.2489, allocations: 19.42 kB / 0.9532 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/0.2489, allocations: 0 / 0.9532 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of Templates: time 0.005214/0.2541, allocations: 2.634 MB / 0.9557 GB, free: 15.4 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)