Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 80.45 kB / 19.96 MB, free: 4.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 169.2 kB / 23.24 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9461/0.9461, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.838/1.838, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.15e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01556/0.01558, allocations: 21.82 MB / 1.022 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008113/0.0237, allocations: 6.394 MB / 1.028 GB, free: 1.234 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.02547, allocations: 127.1 kB / 1.028 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.02811, allocations: 1.519 MB / 1.03 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.0315, allocations: 1.986 MB / 1.032 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.03419, allocations: 1.482 MB / 1.033 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006575/0.04077, allocations: 7.02 MB / 1.04 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004716/0.04548, allocations: 3.735 MB / 1.044 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4798/0.5253, allocations: 4.012 MB / 1.048 GB, free: 54.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/0.5296, allocations: 3.397 MB / 1.051 GB, free: 54.27 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.5309, allocations: 0.5283 MB / 1.051 GB, free: 54.27 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.5336, allocations: 1.128 MB / 1.053 GB, free: 54.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002873/0.5365, allocations: 2.666 MB / 1.055 GB, free: 54.27 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003325/0.5398, allocations: 1.753 MB / 1.057 GB, free: 54.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.548, allocations: 8.69 MB / 1.065 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.548, allocations: 3.844 kB / 1.065 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.548, allocations: 0 / 1.065 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002688/0.5483, allocations: 1.562 kB / 1.065 GB, free: 53.74 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01006/0.5583, allocations: 4.423 MB / 1.07 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5584, allocations: 9.844 kB / 1.07 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001166/0.5595, allocations: 0.5734 MB / 1.07 GB, free: 51.47 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.5648, allocations: 1.714 MB / 1.072 GB, free: 51.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00505/0.5698, allocations: 2.666 MB / 1.075 GB, free: 50.01 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.5701, allocations: 282.2 kB / 1.075 GB, free: 49.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.5719, allocations: 361 kB / 1.075 GB, free: 49.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.5866, allocations: 7.714 MB / 1.083 GB, free: 46.63 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.5867, allocations: 16.55 kB / 1.083 GB, free: 46.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007685/0.5875, allocations: 160.6 kB / 1.083 GB, free: 46.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005868/0.588, allocations: 490.2 kB / 1.083 GB, free: 46.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.5987, allocations: 5.692 MB / 1.089 GB, free: 44.61 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/0.6275, allocations: 20.52 MB / 1.109 GB, free: 32.38 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.6301, allocations: 2.017 MB / 1.111 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.6326, allocations: 2.106 MB / 1.113 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.6328, allocations: 16.19 kB / 1.113 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.6328, allocations: 54.03 kB / 1.113 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=146): time 4.649e-06/0.6328, allocations: 0 / 1.113 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=251): time 0.1598/0.7926, allocations: 76.72 MB / 1.188 GB, free: 15.16 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.7927, allocations: 77.41 kB / 1.188 GB, free: 15.07 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.7945, allocations: 1.693 MB / 1.19 GB, free: 13.34 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0005787/0.7951, allocations: 65.7 kB / 1.19 GB, free: 13.27 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008475/0.796, allocations: 1.798 MB / 1.191 GB, free: 11.46 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.000856/0.7968, allocations: 0.8802 MB / 1.192 GB, free: 10.59 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006488/0.7975, allocations: 481.4 kB / 1.193 GB, free: 10.11 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.7975, allocations: 309.1 kB / 1.193 GB, free: 9.809 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.8003, allocations: 2.727 MB / 1.196 GB, free: 7.078 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.8034, allocations: 3.334 MB / 1.199 GB, free: 3.504 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/0.8096, allocations: 6.4 MB / 1.205 GB, free: 12.94 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.8096, allocations: 4 kB / 1.205 GB, free: 12.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02072/0.8303, allocations: 14.41 MB / 1.219 GB, free: 14.78 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.8303, allocations: 12 kB / 1.219 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.8304, allocations: 19.94 kB / 1.219 GB, free: 14.75 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01683/0.8472, allocations: 9.199 MB / 1.228 GB, free: 5.535 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/0.848, allocations: 299 kB / 1.229 GB, free: 5.266 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05191/0.9, allocations: 51.03 MB / 1.278 GB, free: 1.641 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.9024, allocations: 223.7 kB / 1.279 GB, free: 1.422 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.9028, allocations: 99.98 kB / 1.279 GB, free: 1.324 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002669/0.9054, allocations: 1.582 MB / 1.28 GB, free: 15.74 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/0.906, allocations: 258.6 kB / 1.281 GB, free: 15.49 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/0.925, allocations: 14.47 MB / 1.295 GB, free: 0.9648 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.9251, allocations: 24 kB / 1.295 GB, free: 0.9414 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001314/0.9252, allocations: 52 kB / 1.295 GB, free: 0.8906 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-05/0.9252, allocations: 11.95 kB / 1.295 GB, free: 0.8789 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/0.953, allocations: 19.52 MB / 1.314 GB, free: 13.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.953, allocations: 4.844 kB / 1.314 GB, free: 13.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.9535, allocations: 163.7 kB / 1.314 GB, free: 13.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01656/0.9701, allocations: 8.978 MB / 1.323 GB, free: 4.047 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004725/0.9706, allocations: 55.98 kB / 1.323 GB, free: 3.992 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04958/1.02, allocations: 50.59 MB / 1.372 GB, free: 0.7188 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.02, allocations: 15.92 kB / 1.372 GB, free: 0.7031 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/1.04, allocations: 14.07 MB / 1.386 GB, free: 2.492 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.042, allocations: 0.7792 MB / 1.387 GB, free: 1.711 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000535/1.042, allocations: 51.98 kB / 1.387 GB, free: 1.66 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.044, allocations: 207.7 kB / 1.387 GB, free: 1.457 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009693/1.045, allocations: 252.1 kB / 1.387 GB, free: 1.215 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.045, allocations: 75.98 kB / 1.387 GB, free: 1.141 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001315/1.046, allocations: 1.119 MB / 1.388 GB, free: 16 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.7e-07/1.046, allocations: 0 / 1.388 GB, free: 16 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.004404/1.051, allocations: 1.621 MB / 1.39 GB, free: 14.38 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01999/1.071, allocations: 14.69 MB / 1.404 GB, free: 15.53 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.085, allocations: 10.19 MB / 1.414 GB, free: 5.336 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.085, allocations: 0 / 1.414 GB, free: 5.336 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/1.096, allocations: 6.996 MB / 1.421 GB, free: 14.28 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.098, allocations: 0.5514 MB / 1.422 GB, free: 13.74 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07192/1.17, allocations: 50.59 MB / 1.471 GB, free: 10.07 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/1.174, allocations: 2.681 MB / 1.474 GB, free: 7.352 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0009314/1.175, allocations: 387.3 kB / 1.474 GB, free: 6.969 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/1.176, allocations: 1.469 MB / 1.476 GB, free: 5.5 MB / 1.307 GB Notification: Performance of SimCode: time 1.473e-06/1.176, allocations: 0 / 1.476 GB, free: 5.5 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6277/1.804, allocations: 129.4 MB / 1.602 GB, free: 465.2 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.842/11.65, allocations: 13.77 kB / 1.602 GB, free: 465.2 MB / 1.401 GB " [Timeout remaining time 288] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.50150726083666]