Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00145/0.00145, allocations: 97.89 kB / 19.73 MB, free: 1.965 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.001525/0.001525, allocations: 212.2 kB / 23.02 MB, free: 4.438 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.661/2.661, allocations: 476.8 MB / 0.7715 GB, free: 3.883 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_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001965/0.001965, allocations: 67.22 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02655/0.3201, allocations: 19.49 MB / 1.303 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.3319, allocations: 6.461 MB / 1.309 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.3336, allocations: 111.2 kB / 1.31 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006196/0.3398, allocations: 2.249 MB / 1.312 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.3433, allocations: 1.24 MB / 1.313 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.3466, allocations: 1.287 MB / 1.314 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006284/0.3529, allocations: 4.866 MB / 1.319 GB, free: 6.859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005656/0.3586, allocations: 3.173 MB / 1.322 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.3621, allocations: 2.169 MB / 1.324 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004285/0.3664, allocations: 2.473 MB / 1.327 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.3676, allocations: 432 kB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.3702, allocations: 0.9518 MB / 1.328 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002581/0.3728, allocations: 1.707 MB / 1.33 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003318/0.3761, allocations: 1.553 MB / 1.331 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008868/0.385, allocations: 6.563 MB / 1.338 GB, free: 3.734 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.385, allocations: 3.938 kB / 1.338 GB, free: 3.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.923e-06/0.385, allocations: 0 / 1.338 GB, free: 3.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001363/0.3851, allocations: 0 / 1.338 GB, free: 3.73 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007133/0.3922, allocations: 3.454 MB / 1.341 GB, free: 232 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3923, allocations: 16.03 kB / 1.341 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.341e-05/0.3924, allocations: 78.16 kB / 1.341 GB, free: 136 kB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007163/0.3931, allocations: 454.6 kB / 1.341 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.3967, allocations: 0.6584 MB / 1.342 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.4008, allocations: 2.001 MB / 1.344 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.401, allocations: 230.3 kB / 1.344 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006848/0.4017, allocations: 291.9 kB / 1.345 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0095/0.4112, allocations: 5.242 MB / 1.35 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.493e-05/0.4113, allocations: 11.89 kB / 1.35 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004695/0.4118, allocations: 128 kB / 1.35 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004629/0.4122, allocations: 225.7 kB / 1.35 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007009/0.4193, allocations: 3.754 MB / 1.354 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.44, allocations: 13.57 MB / 1.367 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.4419, allocations: 1.223 MB / 1.368 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.4435, allocations: 0.9882 MB / 1.369 GB, free: 2.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.4435, allocations: 13 kB / 1.369 GB, free: 2.641 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.4436, allocations: 43.56 kB / 1.369 GB, free: 2.586 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 3.447e-06/0.4436, allocations: 0 / 1.369 GB, free: 2.586 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.02521/0.4688, allocations: 8.432 MB / 1.377 GB, free: 10.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.4688, allocations: 64.72 kB / 1.377 GB, free: 10.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.4706, allocations: 1.13 MB / 1.379 GB, free: 8.949 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.4707, allocations: 45.7 kB / 1.379 GB, free: 8.898 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.4717, allocations: 1.339 MB / 1.38 GB, free: 7.547 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.4722, allocations: 0.4918 MB / 1.38 GB, free: 7.051 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/0.4728, allocations: 295.4 kB / 1.381 GB, free: 6.754 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4729, allocations: 309.1 kB / 1.381 GB, free: 6.449 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.4743, allocations: 0.9135 MB / 1.382 GB, free: 5.535 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.476, allocations: 1.326 MB / 1.383 GB, free: 4.039 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.4793, allocations: 2.43 MB / 1.386 GB, free: 1.438 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.4793, allocations: 4 kB / 1.386 GB, free: 1.434 MB / 1.076 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006544/0.4859, allocations: 3.433 MB / 1.389 GB, free: 13.98 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.4859, allocations: 8.188 kB / 1.389 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.4859, allocations: 16 kB / 1.389 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/0.4894, allocations: 1.181 MB / 1.39 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/0.4904, allocations: 259.6 kB / 1.39 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.5091, allocations: 13.35 MB / 1.403 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5104, allocations: 91.97 kB / 1.403 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.5106, allocations: 64.12 kB / 1.403 GB, free: 14.67 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001855/0.5124, allocations: 1.122 MB / 1.405 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005334/0.513, allocations: 174.9 kB / 1.405 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/0.5194, allocations: 3.126 MB / 1.408 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5194, allocations: 15.94 kB / 1.408 GB, free: 10.2 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/0.5194, allocations: 12 kB / 1.408 GB, free: 10.19 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5195, allocations: 7.984 kB / 1.408 GB, free: 10.18 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.5305, allocations: 5.905 MB / 1.414 GB, free: 4.152 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.5305, allocations: 8 kB / 1.414 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.5312, allocations: 147.8 kB / 1.414 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/0.5344, allocations: 1.067 MB / 1.415 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.5345, allocations: 32 kB / 1.415 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/0.5533, allocations: 13.05 MB / 1.428 GB, free: 5.504 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5533, allocations: 8 kB / 1.428 GB, free: 5.496 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/0.5595, allocations: 3.116 MB / 1.431 GB, free: 2.301 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.5608, allocations: 362.8 kB / 1.431 GB, free: 1.945 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005413/0.5614, allocations: 24 kB / 1.431 GB, free: 1.922 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.5626, allocations: 87.89 kB / 1.431 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/0.563, allocations: 124.6 kB / 1.431 GB, free: 1.711 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.5631, allocations: 40 kB / 1.431 GB, free: 1.672 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001621/0.5647, allocations: 0.7671 MB / 1.432 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5647, allocations: 4 kB / 1.432 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002541/0.5673, allocations: 0.6562 MB / 1.433 GB, free: 248 kB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006174/0.5735, allocations: 3.708 MB / 1.436 GB, free: 12.44 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00533/0.5788, allocations: 3.013 MB / 1.439 GB, free: 9.387 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/0.5788, allocations: 4 kB / 1.439 GB, free: 9.383 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.5821, allocations: 1.889 MB / 1.441 GB, free: 7.457 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.5846, allocations: 0.5032 MB / 1.442 GB, free: 6.969 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03644/0.621, allocations: 19.16 MB / 1.46 GB, free: 3.211 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003834/0.6249, allocations: 1.769 MB / 1.462 GB, free: 1.41 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001213/0.6261, allocations: 350.1 kB / 1.462 GB, free: 1.062 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/0.6277, allocations: 1.015 MB / 1.463 GB, free: 48 kB / 1.154 GB Notification: Performance of SimCode: time 1.142e-06/0.6277, allocations: 0 / 1.463 GB, free: 48 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/0.7674, allocations: 56.14 MB / 1.518 GB, free: 8.848 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.44, allocations: 7.812 kB / 1.518 GB, free: 8.844 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 22.522081126924604]