Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00124/0.00124, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001671/0.001671, allocations: 212.2 kB / 23.04 MB, free: 5.078 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.7 MB / 0.7715 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",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.001974/0.001974, allocations: 63.23 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3216, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04923/0.3709, allocations: 43.05 MB / 1.326 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02692/0.3978, allocations: 15.78 MB / 1.342 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004217/0.402, allocations: 250.1 kB / 1.342 GB, free: 488 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.4143, allocations: 4.665 MB / 1.346 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008644/0.423, allocations: 2.923 MB / 1.349 GB, free: 8.863 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008489/0.4315, allocations: 3.264 MB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01575/0.4472, allocations: 11.42 MB / 1.364 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.4575, allocations: 6.76 MB / 1.37 GB, free: 3.258 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008534/0.4661, allocations: 4.974 MB / 1.375 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.478, allocations: 5.756 MB / 1.381 GB, free: 8.496 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0038/0.4818, allocations: 0.9492 MB / 1.382 GB, free: 7.547 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006387/0.4882, allocations: 2.072 MB / 1.384 GB, free: 5.473 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00676/0.4949, allocations: 3.784 MB / 1.387 GB, free: 1.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.009003/0.5039, allocations: 4.303 MB / 1.392 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/0.5246, allocations: 14.32 MB / 1.405 GB, free: 15 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5246, allocations: 0 / 1.405 GB, free: 15 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5246, allocations: 3.938 kB / 1.406 GB, free: 15 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004559/0.5251, allocations: 0 / 1.406 GB, free: 15 MB / 1.107 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.02338/0.5485, allocations: 7.724 MB / 1.413 GB, free: 7.199 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5485, allocations: 8.031 kB / 1.413 GB, free: 7.191 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000202/0.5487, allocations: 160.3 kB / 1.413 GB, free: 7.031 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003369/0.5521, allocations: 0.8955 MB / 1.414 GB, free: 6.125 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.5638, allocations: 1.561 MB / 1.416 GB, free: 4.559 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.575, allocations: 4.378 MB / 1.42 GB, free: 100 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005352/0.5755, allocations: 452.5 kB / 1.42 GB, free: 15.65 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/0.5782, allocations: 0.5979 MB / 1.421 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/0.6058, allocations: 10.68 MB / 1.431 GB, free: 3.996 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003564/0.6062, allocations: 31.72 kB / 1.431 GB, free: 3.965 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/0.6083, allocations: 267.9 kB / 1.432 GB, free: 3.703 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003127/0.6114, allocations: 0.7729 MB / 1.432 GB, free: 2.926 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.6301, allocations: 8.557 MB / 1.441 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06943/0.6995, allocations: 46.26 MB / 1.486 GB, free: 8.305 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006282/0.7058, allocations: 3.982 MB / 1.49 GB, free: 4.312 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005402/0.7112, allocations: 3.372 MB / 1.493 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.7114, allocations: 38.72 kB / 1.493 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.402e-05/0.7115, allocations: 73.34 kB / 1.493 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of pre-optimization done (n=353): time 4.959e-06/0.7115, allocations: 4 kB / 1.493 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of matching and sorting (n=578): time 1.123/1.835, allocations: 121.1 MB / 1.611 GB, free: 290.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.835, allocations: 110.5 kB / 1.612 GB, free: 290.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004924/1.84, allocations: 2.689 MB / 1.614 GB, free: 289.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/1.841, allocations: 119.2 kB / 1.614 GB, free: 289.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.842, allocations: 2.75 MB / 1.617 GB, free: 288.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.844, allocations: 2.054 MB / 1.619 GB, free: 287.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/1.846, allocations: 0.926 MB / 1.62 GB, free: 287 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.929e-05/1.846, allocations: 306 kB / 1.62 GB, free: 286.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005315/1.851, allocations: 4.078 MB / 1.624 GB, free: 285 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/1.856, allocations: 5.021 MB / 1.629 GB, free: 282.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.867, allocations: 9.857 MB / 1.639 GB, free: 277.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/1.867, allocations: 3.812 kB / 1.639 GB, free: 277.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03193/1.899, allocations: 16.74 MB / 1.655 GB, free: 269.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/1.899, allocations: 16.38 kB / 1.655 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.899, allocations: 24.94 kB / 1.655 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02811/1.927, allocations: 9.084 MB / 1.664 GB, free: 262.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/1.929, allocations: 0.5187 MB / 1.664 GB, free: 262.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08265/2.012, allocations: 75.91 MB / 1.739 GB, free: 185.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/2.017, allocations: 280.8 kB / 1.739 GB, free: 185 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005019/2.017, allocations: 188 kB / 1.739 GB, free: 184.8 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.003346/2.02, allocations: 2.425 MB / 1.741 GB, free: 182.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/2.021, allocations: 493 kB / 1.742 GB, free: 181.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03196/2.053, allocations: 16.55 MB / 1.758 GB, free: 165.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/2.053, allocations: 52 kB / 1.758 GB, free: 165.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002204/2.054, allocations: 72 kB / 1.758 GB, free: 165.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/2.054, allocations: 27.89 kB / 1.758 GB, free: 165 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04609/2.1, allocations: 25.37 MB / 1.783 GB, free: 139.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.242e-05/2.1, allocations: 8 kB / 1.783 GB, free: 139.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/2.102, allocations: 319.6 kB / 1.783 GB, free: 139.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02582/2.128, allocations: 8.271 MB / 1.791 GB, free: 130.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009299/2.129, allocations: 112 kB / 1.791 GB, free: 130.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08083/2.21, allocations: 72.78 MB / 1.863 GB, free: 56.69 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.21, allocations: 11.94 kB / 1.863 GB, free: 56.68 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03642/2.246, allocations: 21.3 MB / 1.883 GB, free: 35.01 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002966/2.249, allocations: 1.311 MB / 1.885 GB, free: 33.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/2.25, allocations: 115.9 kB / 1.885 GB, free: 33.59 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/2.253, allocations: 287.6 kB / 1.885 GB, free: 33.31 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00169/2.255, allocations: 0.5489 MB / 1.886 GB, free: 32.75 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003493/2.255, allocations: 144 kB / 1.886 GB, free: 32.61 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001952/2.257, allocations: 1.776 MB / 1.887 GB, free: 30.85 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.257, allocations: 4 kB / 1.887 GB, free: 30.84 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00734/2.264, allocations: 2.461 MB / 1.89 GB, free: 28.38 MB / 1.295 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.03614/2.3, allocations: 22.02 MB / 1.911 GB, free: 6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02515/2.326, allocations: 13.73 MB / 1.925 GB, free: 8.074 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/2.326, allocations: 3.625 kB / 1.925 GB, free: 8.074 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.02026/2.346, allocations: 9.035 MB / 1.934 GB, free: 14.9 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007758/2.354, allocations: 1.385 MB / 1.935 GB, free: 13.57 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1439/2.497, allocations: 70 MB / 2.003 GB, free: 5.93 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007231/2.505, allocations: 4.897 MB / 2.008 GB, free: 0.9883 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.00255/2.507, allocations: 0.7448 MB / 2.009 GB, free: 244 kB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/2.51, allocations: 2.611 MB / 2.011 GB, free: 13.65 MB / 1.404 GB Notification: Performance of SimCode: time 9.52e-07/2.51, allocations: 0 / 2.011 GB, free: 13.65 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9431/3.454, allocations: 204.1 MB / 2.211 GB, free: 0.5161 GB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.41/26.86, allocations: 13.08 kB / 2.211 GB, free: 0.5161 GB / 1.576 GB " [Timeout remaining time 272] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 35.04049528500764]