Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001686/0.001686, allocations: 97.92 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.00228/0.00228, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.068/3.068, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.002498/0.002498, allocations: 66.22 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3576, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02772/0.3853, allocations: 22.22 MB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.3971, allocations: 6.426 MB / 1.355 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.3989, allocations: 131 kB / 1.355 GB, free: 4.637 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.4026, allocations: 1.51 MB / 1.356 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003972/0.4065, allocations: 1.945 MB / 1.358 GB, free: 1.168 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.4097, allocations: 1.463 MB / 1.36 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007738/0.4175, allocations: 6.912 MB / 1.366 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006802/0.4243, allocations: 3.754 MB / 1.37 GB, free: 4.918 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.4291, allocations: 2.933 MB / 1.373 GB, free: 1.977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005938/0.435, allocations: 3.743 MB / 1.376 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009836/0.436, allocations: 0.5234 MB / 1.377 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.4386, allocations: 1.116 MB / 1.378 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.4413, allocations: 2.533 MB / 1.381 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002715/0.444, allocations: 2.062 MB / 1.383 GB, free: 7.973 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009272/0.4533, allocations: 8.582 MB / 1.391 GB, free: 15.36 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4533, allocations: 0 / 1.391 GB, free: 15.36 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4533, allocations: 0 / 1.391 GB, free: 15.36 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002117/0.4535, allocations: 7.938 kB / 1.391 GB, free: 15.36 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008134/0.4616, allocations: 4.468 MB / 1.395 GB, free: 10.83 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4617, allocations: 8.031 kB / 1.395 GB, free: 10.82 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001096/0.4618, allocations: 103.5 kB / 1.395 GB, free: 10.72 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007524/0.4625, allocations: 0.5753 MB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/0.4704, allocations: 1.691 MB / 1.398 GB, free: 8.441 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/0.4757, allocations: 2.676 MB / 1.4 GB, free: 5.723 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.4759, allocations: 275.7 kB / 1.4 GB, free: 5.453 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007106/0.4766, allocations: 360.3 kB / 1.401 GB, free: 5.102 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.489, allocations: 7.708 MB / 1.408 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.4891, allocations: 27.81 kB / 1.408 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005381/0.4896, allocations: 155.9 kB / 1.409 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006639/0.4903, allocations: 483.4 kB / 1.409 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009497/0.4998, allocations: 5.697 MB / 1.415 GB, free: 6.715 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03175/0.5316, allocations: 20.55 MB / 1.435 GB, free: 1.684 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.5346, allocations: 2.014 MB / 1.437 GB, free: 15.66 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.5377, allocations: 2.108 MB / 1.439 GB, free: 13.55 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.5378, allocations: 17.31 kB / 1.439 GB, free: 13.54 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.5379, allocations: 51.88 kB / 1.439 GB, free: 13.47 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.598e-06/0.5379, allocations: 3.938 kB / 1.439 GB, free: 13.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.2749/0.8128, allocations: 76.71 MB / 1.514 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.8128, allocations: 85.28 kB / 1.514 GB, free: 0.543 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.8157, allocations: 1.67 MB / 1.515 GB, free: 14.83 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005042/0.8162, allocations: 65.7 kB / 1.515 GB, free: 14.76 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.8175, allocations: 1.799 MB / 1.517 GB, free: 12.94 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.8187, allocations: 0.8946 MB / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/0.82, allocations: 489.4 kB / 1.519 GB, free: 11.55 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8201, allocations: 301.1 kB / 1.519 GB, free: 11.26 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/0.8242, allocations: 2.726 MB / 1.521 GB, free: 8.527 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/0.8289, allocations: 3.339 MB / 1.525 GB, free: 4.941 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009045/0.8379, allocations: 6.389 MB / 1.531 GB, free: 14.31 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/0.8379, allocations: 7.938 kB / 1.531 GB, free: 14.3 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03421/0.8721, allocations: 14.4 MB / 1.545 GB, free: 15.85 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.8722, allocations: 16.98 kB / 1.545 GB, free: 15.84 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.8722, allocations: 19.94 kB / 1.545 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02939/0.9016, allocations: 9.199 MB / 1.554 GB, free: 6.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.9028, allocations: 299.4 kB / 1.554 GB, free: 6.297 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08314/0.986, allocations: 51.05 MB / 1.604 GB, free: 2.516 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.9888, allocations: 223.7 kB / 1.604 GB, free: 2.297 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005595/0.9894, allocations: 100 kB / 1.605 GB, free: 2.199 MB / 1.295 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.003145/0.9925, allocations: 1.59 MB / 1.606 GB, free: 0.5977 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000833/0.9934, allocations: 254.6 kB / 1.606 GB, free: 356 kB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6688/1.662, allocations: 14.47 MB / 1.62 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/1.662, allocations: 23.91 kB / 1.62 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001846/1.662, allocations: 44.53 kB / 1.62 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.129e-05/1.662, allocations: 11.14 kB / 1.621 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03725/1.7, allocations: 19.53 MB / 1.64 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/1.7, allocations: 5.781 kB / 1.64 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/1.7, allocations: 160.8 kB / 1.64 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02401/1.725, allocations: 8.975 MB / 1.648 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004056/1.725, allocations: 51.12 kB / 1.649 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05732/1.782, allocations: 50.62 MB / 1.698 GB, free: 202.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.782, allocations: 8 kB / 1.698 GB, free: 202.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/1.807, allocations: 14.09 MB / 1.712 GB, free: 188.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.809, allocations: 0.7826 MB / 1.713 GB, free: 187.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/1.809, allocations: 55.94 kB / 1.713 GB, free: 187.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.811, allocations: 210.6 kB / 1.713 GB, free: 187 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/1.812, allocations: 249.3 kB / 1.713 GB, free: 186.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.812, allocations: 64 kB / 1.713 GB, free: 186.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001186/1.814, allocations: 1.125 MB / 1.714 GB, free: 185.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.814, allocations: 0 / 1.714 GB, free: 185.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003969/1.817, allocations: 1.621 MB / 1.716 GB, free: 183.9 MB / 1.295 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.02434/1.842, allocations: 14.71 MB / 1.73 GB, free: 169.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0173/1.859, allocations: 10.21 MB / 1.74 GB, free: 158.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.859, allocations: 0 / 1.74 GB, free: 158.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01377/1.873, allocations: 7.014 MB / 1.747 GB, free: 151.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.875, allocations: 0.5613 MB / 1.747 GB, free: 151.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07483/1.95, allocations: 50.51 MB / 1.797 GB, free: 99.71 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002625/1.953, allocations: 2.677 MB / 1.799 GB, free: 96.99 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008891/1.954, allocations: 396.1 kB / 1.8 GB, free: 96.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.955, allocations: 1.46 MB / 1.801 GB, free: 95.14 MB / 1.295 GB Notification: Performance of SimCode: time 7.11e-07/1.955, allocations: 0 / 1.801 GB, free: 95.14 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1615/2.116, allocations: 128.7 MB / 1.927 GB, free: 15.3 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/18.28, allocations: 4.062 kB / 1.927 GB, free: 15.3 MB / 1.342 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 25.896759224007837]