Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.002027/0.002027, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002622/0.002622, allocations: 219.3 kB / 22.25 MB, free: 5.254 MB / 14.72 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 1.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ACLine_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.88 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04802/0.3822, allocations: 39.12 MB / 1.364 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02674/0.4089, allocations: 15.32 MB / 1.379 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00452/0.4134, allocations: 250.1 kB / 1.379 GB, free: 10.67 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.4261, allocations: 4.489 MB / 1.384 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008501/0.4346, allocations: 2.935 MB / 1.387 GB, free: 3.219 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008809/0.4435, allocations: 3.191 MB / 1.39 GB, free: 28 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01533/0.4588, allocations: 11.42 MB / 1.401 GB, free: 4.57 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.4701, allocations: 6.776 MB / 1.407 GB, free: 13.67 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00851/0.4786, allocations: 4.993 MB / 1.412 GB, free: 8.66 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.4892, allocations: 5.752 MB / 1.418 GB, free: 2.891 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002924/0.4921, allocations: 0.9492 MB / 1.419 GB, free: 1.941 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005953/0.498, allocations: 1.915 MB / 1.421 GB, free: 24 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006275/0.5043, allocations: 3.784 MB / 1.424 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00773/0.512, allocations: 3.51 MB / 1.428 GB, free: 8.703 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.5305, allocations: 14.39 MB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.5305, allocations: 7.984 kB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5305, allocations: 0 / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000374/0.5308, allocations: 0 / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02103/0.5519, allocations: 7.711 MB / 1.449 GB, free: 2.48 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5519, allocations: 8.031 kB / 1.449 GB, free: 2.473 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002196/0.5541, allocations: 0.8916 MB / 1.45 GB, free: 1.57 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.5649, allocations: 1.554 MB / 1.452 GB, free: 12 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.5772, allocations: 4.398 MB / 1.456 GB, free: 11.53 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/0.5777, allocations: 452.5 kB / 1.457 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/0.5806, allocations: 0.594 MB / 1.457 GB, free: 10.49 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/0.6074, allocations: 11.59 MB / 1.468 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000309/0.6077, allocations: 35.78 kB / 1.468 GB, free: 14.27 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002093/0.6098, allocations: 263.9 kB / 1.469 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003009/0.6128, allocations: 0.7768 MB / 1.469 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/0.6327, allocations: 8.541 MB / 1.478 GB, free: 4.664 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06161/0.6943, allocations: 31.44 MB / 1.509 GB, free: 4.555 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006218/0.7006, allocations: 3.971 MB / 1.512 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005412/0.706, allocations: 3.365 MB / 1.516 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.7062, allocations: 38.78 kB / 1.516 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/0.7063, allocations: 77.33 kB / 1.516 GB, free: 13.07 MB / 1.217 GB Notification: Performance of pre-optimization done (n=353): time 6.612e-06/0.7063, allocations: 0 / 1.516 GB, free: 13.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=578): time 1.193/1.9, allocations: 121.1 MB / 1.634 GB, free: 246.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/1.9, allocations: 118.2 kB / 1.634 GB, free: 246.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/1.904, allocations: 2.722 MB / 1.637 GB, free: 245.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.905, allocations: 119.9 kB / 1.637 GB, free: 245.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.906, allocations: 2.752 MB / 1.64 GB, free: 243.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001927/1.908, allocations: 2.053 MB / 1.642 GB, free: 241.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/1.91, allocations: 0.928 MB / 1.643 GB, free: 241.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/1.91, allocations: 305.1 kB / 1.643 GB, free: 241.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004877/1.915, allocations: 4.083 MB / 1.647 GB, free: 239.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005206/1.92, allocations: 5.021 MB / 1.652 GB, free: 236.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.931, allocations: 9.844 MB / 1.661 GB, free: 231.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.931, allocations: 10.91 kB / 1.661 GB, free: 231.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03522/1.966, allocations: 16.74 MB / 1.678 GB, free: 219.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/1.966, allocations: 12 kB / 1.678 GB, free: 219.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.744e-05/1.966, allocations: 27.94 kB / 1.678 GB, free: 219.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03154/1.998, allocations: 9.057 MB / 1.687 GB, free: 210.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/2, allocations: 0.5265 MB / 1.687 GB, free: 209.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09106/2.091, allocations: 74.65 MB / 1.76 GB, free: 134 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/2.097, allocations: 276.1 kB / 1.76 GB, free: 133.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/2.098, allocations: 192 kB / 1.76 GB, free: 133.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004395/2.102, allocations: 2.423 MB / 1.763 GB, free: 131.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/2.104, allocations: 497 kB / 1.763 GB, free: 130.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03436/2.138, allocations: 16.54 MB / 1.779 GB, free: 113.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.314e-05/2.138, allocations: 60 kB / 1.779 GB, free: 113.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002302/2.138, allocations: 72 kB / 1.78 GB, free: 113.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001227/2.138, allocations: 27.89 kB / 1.78 GB, free: 113.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05261/2.191, allocations: 24.02 MB / 1.803 GB, free: 89.54 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.492e-05/2.191, allocations: 4 kB / 1.803 GB, free: 89.54 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/2.193, allocations: 323.5 kB / 1.803 GB, free: 89.22 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02755/2.22, allocations: 8.258 MB / 1.811 GB, free: 80.93 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008915/2.221, allocations: 112 kB / 1.812 GB, free: 80.82 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08074/2.302, allocations: 71.51 MB / 1.881 GB, free: 8.07 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/2.302, allocations: 15.94 kB / 1.881 GB, free: 8.055 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04258/2.345, allocations: 21.3 MB / 1.902 GB, free: 2.395 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00477/2.349, allocations: 1.313 MB / 1.903 GB, free: 1.078 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/2.351, allocations: 112 kB / 1.904 GB, free: 0.9688 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003475/2.354, allocations: 287.6 kB / 1.904 GB, free: 0.6875 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001845/2.356, allocations: 0.5567 MB / 1.904 GB, free: 128 kB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005014/2.356, allocations: 144 kB / 1.904 GB, free: 15.98 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002719/2.359, allocations: 1.768 MB / 1.906 GB, free: 14.23 MB / 1.326 GB Notification: Performance of sort global known variables: time 8e-08/2.359, allocations: 3.938 kB / 1.906 GB, free: 14.22 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.007713/2.367, allocations: 2.467 MB / 1.909 GB, free: 11.76 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04653/2.413, allocations: 22.01 MB / 1.93 GB, free: 5.379 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02837/2.442, allocations: 13.73 MB / 1.944 GB, free: 7.453 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/2.442, allocations: 7.938 kB / 1.944 GB, free: 7.445 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.01899/2.461, allocations: 9.034 MB / 1.952 GB, free: 14.27 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/2.467, allocations: 1.383 MB / 1.954 GB, free: 12.93 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1454/2.613, allocations: 69.9 MB / 2.022 GB, free: 5.371 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007516/2.62, allocations: 4.395 MB / 2.026 GB, free: 0.9219 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002689/2.623, allocations: 0.7411 MB / 2.027 GB, free: 180 kB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003645/2.626, allocations: 2.613 MB / 2.03 GB, free: 13.57 MB / 1.451 GB Notification: Performance of SimCode: time 1.172e-06/2.626, allocations: 0 / 2.03 GB, free: 13.57 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9377/3.564, allocations: 211.3 MB / 2.236 GB, free: 0.5392 GB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.89/22.46, allocations: 6.031 kB / 2.236 GB, free: 0.5392 GB / 1.623 GB " [Timeout remaining time 277] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 29.99648341201828]