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.001518/0.001518, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001695/0.001695, allocations: 214.5 kB / 23.03 MB, free: 4.949 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.657/2.657, allocations: 476.8 MB / 0.7715 GB, free: 3.922 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.002008/0.002008, allocations: 64.31 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04987/0.404, allocations: 39.07 MB / 1.322 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.4323, allocations: 15.28 MB / 1.337 GB, free: 4.215 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005042/0.4374, allocations: 262 kB / 1.337 GB, free: 3.957 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0127/0.4501, allocations: 4.48 MB / 1.342 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009004/0.4591, allocations: 2.927 MB / 1.345 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01036/0.4694, allocations: 3.179 MB / 1.348 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01637/0.4858, allocations: 11.43 MB / 1.359 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01448/0.5003, allocations: 6.762 MB / 1.366 GB, free: 7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009712/0.51, allocations: 4.997 MB / 1.37 GB, free: 1.988 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.5214, allocations: 5.748 MB / 1.376 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003465/0.5249, allocations: 0.9531 MB / 1.377 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005971/0.5309, allocations: 1.919 MB / 1.379 GB, free: 9.348 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006609/0.5375, allocations: 3.784 MB / 1.383 GB, free: 5.555 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00905/0.5465, allocations: 3.506 MB / 1.386 GB, free: 2.035 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02021/0.5667, allocations: 14.39 MB / 1.4 GB, free: 3.605 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5667, allocations: 4 kB / 1.4 GB, free: 3.602 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5667, allocations: 0 / 1.4 GB, free: 3.602 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004074/0.5672, allocations: 0 / 1.4 GB, free: 3.602 MB / 1.092 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.02451/0.5917, allocations: 7.719 MB / 1.408 GB, free: 11.81 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5917, allocations: 8.031 kB / 1.408 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000227/0.5919, allocations: 164.3 kB / 1.408 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003682/0.5956, allocations: 0.8994 MB / 1.409 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.6073, allocations: 1.55 MB / 1.41 GB, free: 9.172 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.6192, allocations: 4.386 MB / 1.414 GB, free: 4.703 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/0.6198, allocations: 456.5 kB / 1.415 GB, free: 4.254 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/0.6226, allocations: 0.6017 MB / 1.415 GB, free: 3.652 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/0.6492, allocations: 11.59 MB / 1.427 GB, free: 7.465 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003137/0.6495, allocations: 35.77 kB / 1.427 GB, free: 7.43 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/0.6515, allocations: 267.9 kB / 1.427 GB, free: 7.168 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/0.6544, allocations: 0.769 MB / 1.428 GB, free: 6.395 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.6733, allocations: 8.557 MB / 1.436 GB, free: 13.81 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06883/0.7421, allocations: 31.45 MB / 1.467 GB, free: 13.69 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007039/0.7492, allocations: 3.977 MB / 1.471 GB, free: 9.703 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006218/0.7554, allocations: 3.369 MB / 1.474 GB, free: 6.32 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/0.7558, allocations: 38.78 kB / 1.474 GB, free: 6.281 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.829e-05/0.7559, allocations: 81.2 kB / 1.474 GB, free: 6.191 MB / 1.17 GB Notification: Performance of pre-optimization done (n=353): time 9.187e-06/0.756, allocations: 4 kB / 1.474 GB, free: 6.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=578): time 0.5116/1.268, allocations: 121.1 MB / 1.592 GB, free: 12.61 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.268, allocations: 111.9 kB / 1.593 GB, free: 12.48 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/1.272, allocations: 2.689 MB / 1.595 GB, free: 9.797 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.273, allocations: 117.7 kB / 1.595 GB, free: 9.676 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/1.276, allocations: 2.753 MB / 1.598 GB, free: 6.898 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.00289/1.279, allocations: 2.053 MB / 1.6 GB, free: 4.828 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002881/1.282, allocations: 0.9212 MB / 1.601 GB, free: 3.898 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.282, allocations: 301.1 kB / 1.601 GB, free: 3.602 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6046/1.886, allocations: 4.078 MB / 1.605 GB, free: 293.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00776/1.894, allocations: 5.017 MB / 1.61 GB, free: 291.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/1.91, allocations: 9.851 MB / 1.62 GB, free: 286.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.546e-05/1.91, allocations: 8.125 kB / 1.62 GB, free: 286.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03635/1.946, allocations: 16.74 MB / 1.636 GB, free: 280.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/1.946, allocations: 15.56 kB / 1.636 GB, free: 280.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/1.946, allocations: 23.12 kB / 1.636 GB, free: 280.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02865/1.975, allocations: 9.066 MB / 1.645 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/1.977, allocations: 0.5214 MB / 1.645 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08296/2.06, allocations: 74.66 MB / 1.718 GB, free: 205.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/2.065, allocations: 279.8 kB / 1.719 GB, free: 205.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007287/2.065, allocations: 188 kB / 1.719 GB, free: 205.4 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.00379/2.069, allocations: 2.428 MB / 1.721 GB, free: 202.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/2.07, allocations: 493 kB / 1.722 GB, free: 202.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03136/2.102, allocations: 16.55 MB / 1.738 GB, free: 185.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/2.102, allocations: 56 kB / 1.738 GB, free: 185.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001096/2.102, allocations: 68 kB / 1.738 GB, free: 185.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.703e-05/2.102, allocations: 31.89 kB / 1.738 GB, free: 185.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04321/2.145, allocations: 24.01 MB / 1.761 GB, free: 161.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.787e-05/2.145, allocations: 8 kB / 1.761 GB, free: 161.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/2.147, allocations: 319.5 kB / 1.762 GB, free: 161.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02627/2.173, allocations: 8.258 MB / 1.77 GB, free: 152.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009209/2.174, allocations: 112 kB / 1.77 GB, free: 152.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07929/2.253, allocations: 71.54 MB / 1.84 GB, free: 79.89 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.253, allocations: 11.94 kB / 1.84 GB, free: 79.88 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03519/2.288, allocations: 21.31 MB / 1.861 GB, free: 58.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002968/2.291, allocations: 1.305 MB / 1.862 GB, free: 56.89 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009041/2.292, allocations: 115.9 kB / 1.862 GB, free: 56.78 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/2.295, allocations: 287.6 kB / 1.862 GB, free: 56.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001632/2.297, allocations: 0.553 MB / 1.863 GB, free: 55.94 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003634/2.297, allocations: 144 kB / 1.863 GB, free: 55.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001884/2.299, allocations: 1.776 MB / 1.865 GB, free: 54.04 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.299, allocations: 0 / 1.865 GB, free: 54.04 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005759/2.305, allocations: 2.461 MB / 1.867 GB, free: 51.57 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.03402/2.339, allocations: 22.02 MB / 1.888 GB, free: 29.18 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02105/2.36, allocations: 13.72 MB / 1.902 GB, free: 15.27 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/2.36, allocations: 4 kB / 1.902 GB, free: 15.27 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/2.375, allocations: 9.029 MB / 1.911 GB, free: 6.09 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007866/2.383, allocations: 1.383 MB / 1.912 GB, free: 4.758 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1665/2.55, allocations: 69.99 MB / 1.98 GB, free: 13.15 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008239/2.558, allocations: 4.395 MB / 1.985 GB, free: 8.699 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.003338/2.561, allocations: 0.741 MB / 1.985 GB, free: 7.953 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004229/2.565, allocations: 2.608 MB / 1.988 GB, free: 5.344 MB / 1.373 GB Notification: Performance of SimCode: time 1.593e-06/2.565, allocations: 0 / 1.988 GB, free: 5.344 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4194/2.985, allocations: 210.6 MB / 2.194 GB, free: 4.625 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.11/26.09, allocations: 11.91 kB / 2.194 GB, free: 4.613 MB / 1.576 GB " [Timeout remaining time 274] (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: 34.949017051956616]