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.0008331/0.0008331, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008176/0.0008176, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8685/0.8685, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.633/1.633, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.705e-05, allocations: 4.812 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02881/0.02884, allocations: 38.36 MB / 0.988 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.04732, allocations: 15.05 MB / 1.003 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.05114, allocations: 250.1 kB / 1.003 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.006665/0.0578, allocations: 4.5 MB / 1.007 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.006386/0.06419, allocations: 3.013 MB / 1.01 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.006196/0.07038, allocations: 3.222 MB / 1.013 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.08136, allocations: 11.65 MB / 1.025 GB, free: 7.172 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00974/0.0911, allocations: 6.749 MB / 1.031 GB, free: 308 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.102, allocations: 6.888 MB / 1.038 GB, free: 9.398 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007446/0.1095, allocations: 5.093 MB / 1.043 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.1118, allocations: 0.9453 MB / 1.044 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.116, allocations: 1.934 MB / 1.046 GB, free: 1.41 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.4146/0.5306, allocations: 3.944 MB / 1.05 GB, free: 67.97 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.006142/0.5367, allocations: 3.029 MB / 1.053 GB, free: 67.97 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.5496, allocations: 14.56 MB / 1.067 GB, free: 67.52 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.5496, allocations: 1.469 kB / 1.067 GB, free: 67.52 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5496, allocations: 0 / 1.067 GB, free: 67.52 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005003/0.5501, allocations: 0 / 1.067 GB, free: 67.52 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01939/0.5695, allocations: 7.633 MB / 1.074 GB, free: 64.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5695, allocations: 8.156 kB / 1.074 GB, free: 64.75 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003363/0.5729, allocations: 0.8928 MB / 1.075 GB, free: 64.67 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007299/0.5802, allocations: 1.568 MB / 1.077 GB, free: 64.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009048/0.5892, allocations: 4.384 MB / 1.081 GB, free: 63.37 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004135/0.5896, allocations: 458 kB / 1.081 GB, free: 63.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002978/0.5926, allocations: 0.5973 MB / 1.082 GB, free: 63.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.6169, allocations: 11.59 MB / 1.093 GB, free: 59.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002957/0.6172, allocations: 34.91 kB / 1.093 GB, free: 59.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002125/0.6194, allocations: 262.7 kB / 1.094 GB, free: 59.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001745/0.6211, allocations: 0.7806 MB / 1.094 GB, free: 59.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.6379, allocations: 8.539 MB / 1.103 GB, free: 56.24 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04623/0.6841, allocations: 31.41 MB / 1.133 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004711/0.6888, allocations: 3.977 MB / 1.137 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004222/0.6931, allocations: 3.36 MB / 1.141 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.6934, allocations: 39.94 kB / 1.141 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.6934, allocations: 72.72 kB / 1.141 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=353): time 5.871e-06/0.6934, allocations: 0 / 1.141 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=578): time 0.2735/0.9669, allocations: 121.1 MB / 1.259 GB, free: 1.117 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.967, allocations: 115.3 kB / 1.259 GB, free: 0.9922 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.9702, allocations: 2.72 MB / 1.262 GB, free: 14.27 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/0.9713, allocations: 125.7 kB / 1.262 GB, free: 14.14 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.9728, allocations: 2.74 MB / 1.265 GB, free: 11.39 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002477/0.9752, allocations: 2.023 MB / 1.267 GB, free: 9.395 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/0.977, allocations: 0.931 MB / 1.267 GB, free: 8.457 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.9771, allocations: 301.1 kB / 1.268 GB, free: 8.16 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004982/0.982, allocations: 4.079 MB / 1.272 GB, free: 4.074 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005654/0.9877, allocations: 5.018 MB / 1.277 GB, free: 14.74 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.9993, allocations: 9.844 MB / 1.286 GB, free: 4.609 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/0.9993, allocations: 12 kB / 1.286 GB, free: 4.598 MB / 1.089 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02709/1.026, allocations: 16.74 MB / 1.303 GB, free: 4.117 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/1.026, allocations: 16 kB / 1.303 GB, free: 4.102 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.026, allocations: 20 kB / 1.303 GB, free: 4.082 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01838/1.045, allocations: 9.076 MB / 1.311 GB, free: 10.98 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.047, allocations: 0.5195 MB / 1.312 GB, free: 10.49 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07303/1.12, allocations: 74.64 MB / 1.385 GB, free: 14.75 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/1.124, allocations: 279.8 kB / 1.385 GB, free: 14.48 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.125, allocations: 192 kB / 1.385 GB, free: 14.29 MB / 1.198 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.005126/1.13, allocations: 2.428 MB / 1.388 GB, free: 11.89 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.131, allocations: 0.4892 MB / 1.388 GB, free: 11.39 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/1.156, allocations: 16.54 MB / 1.404 GB, free: 10.96 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/1.156, allocations: 52 kB / 1.404 GB, free: 10.91 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002013/1.157, allocations: 75.94 kB / 1.404 GB, free: 10.84 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001101/1.157, allocations: 27.89 kB / 1.404 GB, free: 10.81 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04051/1.197, allocations: 24.01 MB / 1.428 GB, free: 2.891 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.17e-05/1.197, allocations: 8 kB / 1.428 GB, free: 2.883 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.199, allocations: 318 kB / 1.428 GB, free: 2.59 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0162/1.215, allocations: 8.257 MB / 1.436 GB, free: 10.3 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/1.216, allocations: 108 kB / 1.436 GB, free: 10.19 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06808/1.284, allocations: 71.51 MB / 1.506 GB, free: 1.621 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.284, allocations: 15.94 kB / 1.506 GB, free: 1.605 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03033/1.314, allocations: 21.3 MB / 1.527 GB, free: 12.23 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/1.318, allocations: 1.314 MB / 1.528 GB, free: 10.91 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.319, allocations: 108 kB / 1.528 GB, free: 10.81 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/1.322, allocations: 291.6 kB / 1.529 GB, free: 10.52 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001825/1.323, allocations: 0.551 MB / 1.529 GB, free: 9.969 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005872/1.324, allocations: 144 kB / 1.529 GB, free: 9.828 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.00225/1.326, allocations: 1.772 MB / 1.531 GB, free: 8.066 MB / 1.339 GB Notification: Performance of sort global known variables: time 8.1e-08/1.326, allocations: 3.938 kB / 1.531 GB, free: 8.062 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.007992/1.334, allocations: 2.457 MB / 1.534 GB, free: 5.605 MB / 1.339 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.4398/1.774, allocations: 22 MB / 1.555 GB, free: 459.5 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.01899/1.793, allocations: 13.72 MB / 1.568 GB, free: 457.6 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.793, allocations: 2.625 kB / 1.568 GB, free: 457.6 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.0133/1.806, allocations: 9.006 MB / 1.577 GB, free: 455.8 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00609/1.812, allocations: 1.381 MB / 1.579 GB, free: 455.7 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1155/1.928, allocations: 70.02 MB / 1.647 GB, free: 427.9 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007377/1.935, allocations: 4.391 MB / 1.651 GB, free: 426.8 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.002457/1.938, allocations: 0.7456 MB / 1.652 GB, free: 426.6 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002946/1.941, allocations: 2.615 MB / 1.654 GB, free: 424.4 MB / 1.354 GB Notification: Performance of SimCode: time 1.844e-06/1.941, allocations: 4 kB / 1.654 GB, free: 424.4 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2026/2.143, allocations: 208.9 MB / 1.858 GB, free: 222.7 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/13.93, allocations: 4.062 kB / 1.858 GB, free: 222.7 MB / 1.354 GB " [Timeout remaining time 286] (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/jenkins/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.47430061083287]