Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001824/0.001824, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002121/0.002121, allocations: 215 kB / 20.13 MB, free: 2.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.62/1.62, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.878/2.878, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] 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.ACLineMatrix_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.002044/0.002044, allocations: 67.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9693/0.9714, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.014/0.9854, allocations: 10.19 MB / 1.289 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006244/0.9916, allocations: 3.115 MB / 1.292 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.9928, allocations: 49.69 kB / 1.292 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.9948, allocations: 0.6989 MB / 1.293 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.9965, allocations: 0.7257 MB / 1.293 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.9982, allocations: 0.6334 MB / 1.294 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00373/1.002, allocations: 2.741 MB / 1.297 GB, free: 344 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/1.005, allocations: 1.899 MB / 1.299 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/1.007, allocations: 1.16 MB / 1.3 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/1.01, allocations: 1.488 MB / 1.301 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003765/1.01, allocations: 217.3 kB / 1.301 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/1.012, allocations: 0.4892 MB / 1.302 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/1.013, allocations: 1.006 MB / 1.303 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/1.015, allocations: 1.015 MB / 1.304 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005049/1.02, allocations: 3.414 MB / 1.307 GB, free: 12.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.02, allocations: 5.094 kB / 1.307 GB, free: 12.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/1.02, allocations: 0 / 1.307 GB, free: 12.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001049/1.02, allocations: 0 / 1.307 GB, free: 12.34 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005286/1.025, allocations: 1.986 MB / 1.309 GB, free: 11.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.025, allocations: 10.16 kB / 1.309 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.374e-05/1.025, allocations: 43.25 kB / 1.309 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004772/1.026, allocations: 249.5 kB / 1.309 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006852/1.032, allocations: 0.8976 MB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/1.036, allocations: 1.173 MB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/1.036, allocations: 110.7 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/1.036, allocations: 146.1 kB / 1.312 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005963/1.042, allocations: 3.015 MB / 1.315 GB, free: 8.809 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/1.042, allocations: 7.125 kB / 1.315 GB, free: 8.805 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/1.043, allocations: 61.81 kB / 1.315 GB, free: 8.758 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002485/1.043, allocations: 175.3 kB / 1.315 GB, free: 8.707 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/1.048, allocations: 2.607 MB / 1.317 GB, free: 7.406 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/1.066, allocations: 13.51 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/1.069, allocations: 1.226 MB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/1.07, allocations: 0.9806 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/1.07, allocations: 8.625 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.07, allocations: 43.5 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.805e-06/1.07, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.08212/1.152, allocations: 19.32 MB / 1.352 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.152, allocations: 76.59 kB / 1.352 GB, free: 492 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/1.154, allocations: 0.9145 MB / 1.353 GB, free: 15.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/1.154, allocations: 49.7 kB / 1.353 GB, free: 15.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007109/1.155, allocations: 0.7463 MB / 1.353 GB, free: 14.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007444/1.156, allocations: 0.5035 MB / 1.354 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006948/1.157, allocations: 295.5 kB / 1.354 GB, free: 13.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002033/1.157, allocations: 353.9 kB / 1.354 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/1.159, allocations: 1.331 MB / 1.356 GB, free: 12.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/1.161, allocations: 1.663 MB / 1.357 GB, free: 10.48 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/1.166, allocations: 3.097 MB / 1.36 GB, free: 7.266 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.166, allocations: 0 / 1.36 GB, free: 7.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01335/1.18, allocations: 5.559 MB / 1.366 GB, free: 1.68 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/1.18, allocations: 15.94 kB / 1.366 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.18, allocations: 8 kB / 1.366 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009958/1.19, allocations: 2.713 MB / 1.369 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/1.191, allocations: 199.6 kB / 1.369 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04216/1.233, allocations: 25.72 MB / 1.394 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.235, allocations: 95.95 kB / 1.394 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/1.235, allocations: 52 kB / 1.394 GB, free: 4.305 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001738/1.237, allocations: 0.7437 MB / 1.395 GB, free: 3.551 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/1.237, allocations: 119.2 kB / 1.395 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.251, allocations: 5.31 MB / 1.4 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/1.251, allocations: 16 kB / 1.4 GB, free: 14.07 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-05/1.251, allocations: 16 kB / 1.4 GB, free: 14.06 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/1.251, allocations: 7.969 kB / 1.4 GB, free: 14.05 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.27, allocations: 8.615 MB / 1.408 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.27, allocations: 7.938 kB / 1.408 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/1.271, allocations: 115.8 kB / 1.409 GB, free: 5.191 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009609/1.28, allocations: 2.599 MB / 1.411 GB, free: 2.582 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/1.281, allocations: 28 kB / 1.411 GB, free: 2.555 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03911/1.32, allocations: 24.17 MB / 1.435 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/1.32, allocations: 11.94 kB / 1.435 GB, free: 9.805 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.333, allocations: 5.175 MB / 1.44 GB, free: 4.551 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.334, allocations: 496.2 kB / 1.44 GB, free: 4.047 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/1.334, allocations: 27.98 kB / 1.44 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.335, allocations: 79.91 kB / 1.44 GB, free: 3.941 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005781/1.336, allocations: 129 kB / 1.44 GB, free: 3.812 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.336, allocations: 36 kB / 1.441 GB, free: 3.777 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009506/1.337, allocations: 0.6436 MB / 1.441 GB, free: 3.133 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.337, allocations: 0 / 1.441 GB, free: 3.133 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003136/1.34, allocations: 0.7226 MB / 1.442 GB, free: 2.41 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01282/1.353, allocations: 5.757 MB / 1.447 GB, free: 12.55 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008306/1.361, allocations: 4.074 MB / 1.451 GB, free: 8.43 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.361, allocations: 0.5625 kB / 1.451 GB, free: 8.43 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.006062/1.367, allocations: 2.619 MB / 1.454 GB, free: 5.762 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.369, allocations: 219.1 kB / 1.454 GB, free: 5.559 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04508/1.414, allocations: 21.31 MB / 1.475 GB, free: 15.79 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.416, allocations: 1.696 MB / 1.477 GB, free: 14.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008526/1.416, allocations: 329.4 kB / 1.477 GB, free: 13.74 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/1.417, allocations: 0.5344 MB / 1.478 GB, free: 13.21 MB / 1.17 GB Notification: Performance of SimCode: time 7.91e-07/1.417, allocations: 0 / 1.478 GB, free: 13.21 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.526, allocations: 53.13 MB / 1.529 GB, free: 8.461 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/14.36, allocations: 18.83 kB / 1.529 GB, free: 8.445 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 21.219365856959485]