Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001938/0.001938, allocations: 115.4 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.002242/0.002242, allocations: 210.2 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.946/2.946, allocations: 0.49 GB / 0.7923 GB, free: 1.371 MB / 0.6231 GB " [Timeout remaining time 176] 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_RLC,fileNamePrefix="Buildings_12_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_12_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.001973/0.001973, allocations: 75.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9348, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01001/0.9448, allocations: 10.19 MB / 1.331 GB, free: 17.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004763/0.9496, allocations: 3.106 MB / 1.334 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.9501, allocations: 46 kB / 1.335 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.9519, allocations: 0.7035 MB / 1.335 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.9534, allocations: 0.7269 MB / 1.336 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.9549, allocations: 0.6434 MB / 1.337 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00344/0.9583, allocations: 2.734 MB / 1.339 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.9604, allocations: 1.906 MB / 1.341 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.9621, allocations: 1.155 MB / 1.342 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.964, allocations: 1.494 MB / 1.344 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.9643, allocations: 215.7 kB / 1.344 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.9653, allocations: 0.4891 MB / 1.344 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009987/0.9663, allocations: 1.003 MB / 1.345 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.9674, allocations: 1.014 MB / 1.346 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003801/0.9712, allocations: 3.423 MB / 1.35 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9712, allocations: 0.8438 kB / 1.35 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9712, allocations: 3.938 kB / 1.35 GB, free: 9.363 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.939e-05/0.9712, allocations: 0 / 1.35 GB, free: 9.363 MB / 1.061 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.003995/0.9752, allocations: 1.986 MB / 1.352 GB, free: 8.121 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.9753, allocations: 13.89 kB / 1.352 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.123e-05/0.9753, allocations: 40.28 kB / 1.352 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000336/0.9756, allocations: 252.6 kB / 1.352 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/0.9819, allocations: 0.8897 MB / 1.353 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.9845, allocations: 1.173 MB / 1.354 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/0.9846, allocations: 113.9 kB / 1.354 GB, free: 7.121 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.9849, allocations: 142.7 kB / 1.354 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/0.9902, allocations: 3.019 MB / 1.357 GB, free: 5.895 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.9902, allocations: 11.03 kB / 1.357 GB, free: 5.887 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.9904, allocations: 58.86 kB / 1.357 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000262/0.9907, allocations: 176.6 kB / 1.357 GB, free: 5.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/0.9949, allocations: 2.607 MB / 1.36 GB, free: 4.977 MB / 1.061 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.0174/1.012, allocations: 13.51 MB / 1.373 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/1.014, allocations: 1.226 MB / 1.374 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/1.016, allocations: 0.9788 MB / 1.375 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/1.016, allocations: 9.766 kB / 1.375 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/1.016, allocations: 38.47 kB / 1.375 GB, free: 10.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/1.016, allocations: 0 / 1.375 GB, free: 10.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07906/1.095, allocations: 19.34 MB / 1.394 GB, free: 5.227 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/1.095, allocations: 73.84 kB / 1.394 GB, free: 5.152 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/1.097, allocations: 0.9211 MB / 1.395 GB, free: 4.633 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001913/1.097, allocations: 47.45 kB / 1.395 GB, free: 4.586 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/1.097, allocations: 0.7487 MB / 1.396 GB, free: 3.918 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/1.098, allocations: 0.4987 MB / 1.396 GB, free: 3.477 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006308/1.099, allocations: 293.6 kB / 1.397 GB, free: 3.328 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.099, allocations: 354.3 kB / 1.397 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/1.101, allocations: 1.337 MB / 1.398 GB, free: 2.309 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/1.103, allocations: 1.661 MB / 1.4 GB, free: 1.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004488/1.108, allocations: 3.096 MB / 1.403 GB, free: 15.44 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/1.108, allocations: 3.562 kB / 1.403 GB, free: 15.44 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01309/1.121, allocations: 5.547 MB / 1.408 GB, free: 12.41 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/1.121, allocations: 17.38 kB / 1.408 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.121, allocations: 8.031 kB / 1.408 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009624/1.13, allocations: 2.724 MB / 1.411 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/1.131, allocations: 200 kB / 1.411 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04156/1.173, allocations: 25.72 MB / 1.436 GB, free: 1.887 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.175, allocations: 91.95 kB / 1.436 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/1.175, allocations: 59.98 kB / 1.437 GB, free: 1.738 MB / 1.107 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.001515/1.177, allocations: 0.7393 MB / 1.437 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/1.177, allocations: 119.2 kB / 1.437 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.19, allocations: 5.31 MB / 1.443 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.19, allocations: 12 kB / 1.443 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/1.19, allocations: 24 kB / 1.443 GB, free: 11.49 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.19, allocations: 7.969 kB / 1.443 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/1.208, allocations: 8.611 MB / 1.451 GB, free: 2.754 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.208, allocations: 4 kB / 1.451 GB, free: 2.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/1.208, allocations: 119.8 kB / 1.451 GB, free: 2.633 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009188/1.217, allocations: 2.595 MB / 1.454 GB, free: 28 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/1.218, allocations: 28.38 kB / 1.454 GB, free: 0 / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03825/1.256, allocations: 24.16 MB / 1.477 GB, free: 7.262 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/1.256, allocations: 8.047 kB / 1.477 GB, free: 7.254 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.269, allocations: 5.179 MB / 1.482 GB, free: 1.996 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.271, allocations: 496.3 kB / 1.483 GB, free: 1.492 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/1.271, allocations: 35.98 kB / 1.483 GB, free: 1.457 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.272, allocations: 75.91 kB / 1.483 GB, free: 1.383 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006175/1.272, allocations: 125 kB / 1.483 GB, free: 1.258 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.273, allocations: 36 kB / 1.483 GB, free: 1.223 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009932/1.273, allocations: 0.6397 MB / 1.484 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.273, allocations: 4 kB / 1.484 GB, free: 0.582 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002904/1.276, allocations: 0.7265 MB / 1.484 GB, free: 15.85 MB / 1.17 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.01241/1.289, allocations: 5.75 MB / 1.49 GB, free: 10.01 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008317/1.297, allocations: 4.076 MB / 1.494 GB, free: 5.891 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.297, allocations: 4 kB / 1.494 GB, free: 5.887 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005905/1.303, allocations: 2.618 MB / 1.497 GB, free: 3.215 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/1.305, allocations: 228.2 kB / 1.497 GB, free: 3 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04324/1.348, allocations: 21.3 MB / 1.518 GB, free: 13.23 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/1.35, allocations: 1.7 MB / 1.519 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009351/1.351, allocations: 329.4 kB / 1.52 GB, free: 11.18 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/1.352, allocations: 0.5305 MB / 1.52 GB, free: 10.65 MB / 1.201 GB Notification: Performance of SimCode: time 1.503e-06/1.352, allocations: 4 kB / 1.52 GB, free: 10.64 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.456, allocations: 53.13 MB / 1.572 GB, free: 5.906 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.8, allocations: 18.36 kB / 1.572 GB, free: 5.895 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.534670153982006]