Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001324/0.001324, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001542/0.001542, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.482/1.482, 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 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.914/2.914, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.003474/0.003474, allocations: 59.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9048/0.9083, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02142/0.9297, allocations: 22.96 MB / 1.344 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.9399, allocations: 6.33 MB / 1.35 GB, free: 4.801 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.9423, allocations: 128 kB / 1.35 GB, free: 4.738 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004/0.9463, allocations: 1.571 MB / 1.352 GB, free: 3.816 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004626/0.9509, allocations: 1.732 MB / 1.353 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.9544, allocations: 1.355 MB / 1.355 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00712/0.9615, allocations: 5.931 MB / 1.361 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006104/0.9676, allocations: 4.47 MB / 1.365 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00434/0.9719, allocations: 2.481 MB / 1.367 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/0.977, allocations: 3.069 MB / 1.37 GB, free: 11.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.9781, allocations: 456.7 kB / 1.371 GB, free: 11.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.9814, allocations: 1.121 MB / 1.372 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003053/0.9845, allocations: 2.086 MB / 1.374 GB, free: 10.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00433/0.9888, allocations: 2.171 MB / 1.376 GB, free: 8.926 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.001, allocations: 7.31 MB / 1.383 GB, free: 6.609 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.001, allocations: 0 / 1.383 GB, free: 6.609 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/1.001, allocations: 1.062 kB / 1.383 GB, free: 6.609 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001928/1.001, allocations: 0 / 1.383 GB, free: 6.609 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01119/1.012, allocations: 3.922 MB / 1.387 GB, free: 4.262 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.012, allocations: 13.95 kB / 1.387 GB, free: 4.258 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001275/1.012, allocations: 86.77 kB / 1.387 GB, free: 4.25 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001048/1.014, allocations: 0.4986 MB / 1.388 GB, free: 3.977 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006751/1.02, allocations: 1.232 MB / 1.389 GB, free: 3.719 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00553/1.026, allocations: 2.349 MB / 1.391 GB, free: 2.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/1.026, allocations: 242.2 kB / 1.391 GB, free: 2.406 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008443/1.027, allocations: 315.8 kB / 1.392 GB, free: 2.301 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/1.04, allocations: 6.223 MB / 1.398 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.323e-05/1.04, allocations: 18.17 kB / 1.398 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005048/1.041, allocations: 141.6 kB / 1.398 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005559/1.041, allocations: 409.2 kB / 1.398 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009307/1.051, allocations: 4.66 MB / 1.403 GB, free: 13.07 MB / 1.092 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.03832/1.089, allocations: 28.99 MB / 1.431 GB, free: 2.441 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/1.091, allocations: 1.374 MB / 1.432 GB, free: 1.707 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/1.093, allocations: 1.431 MB / 1.434 GB, free: 1 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/1.093, allocations: 11.19 kB / 1.434 GB, free: 1 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/1.093, allocations: 52.98 kB / 1.434 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 3.256e-06/1.093, allocations: 0 / 1.434 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of matching and sorting (n=179): time 0.1565/1.25, allocations: 37.15 MB / 1.47 GB, free: 14.34 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/1.25, allocations: 81.33 kB / 1.47 GB, free: 14.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/1.252, allocations: 1.423 MB / 1.472 GB, free: 12.82 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003801/1.252, allocations: 53.7 kB / 1.472 GB, free: 12.76 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.254, allocations: 1.583 MB / 1.473 GB, free: 11.16 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009292/1.255, allocations: 0.639 MB / 1.474 GB, free: 10.52 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000956/1.256, allocations: 387.5 kB / 1.474 GB, free: 10.13 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.256, allocations: 305.1 kB / 1.475 GB, free: 9.832 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/1.259, allocations: 1.788 MB / 1.476 GB, free: 8.039 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003599/1.262, allocations: 2.35 MB / 1.479 GB, free: 5.441 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006944/1.269, allocations: 4.391 MB / 1.483 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/1.269, allocations: 4 kB / 1.483 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01976/1.289, allocations: 8.428 MB / 1.491 GB, free: 8.344 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/1.289, allocations: 12 kB / 1.491 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/1.289, allocations: 16 kB / 1.491 GB, free: 8.316 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01596/1.305, allocations: 4.641 MB / 1.496 GB, free: 3.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.306, allocations: 299.5 kB / 1.496 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05281/1.359, allocations: 32.62 MB / 1.528 GB, free: 1.887 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.362, allocations: 151.8 kB / 1.528 GB, free: 1.738 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/1.362, allocations: 80 kB / 1.528 GB, free: 1.66 MB / 1.201 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002804/1.365, allocations: 1.338 MB / 1.529 GB, free: 320 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005568/1.365, allocations: 206.7 kB / 1.529 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/1.385, allocations: 8.293 MB / 1.538 GB, free: 7.766 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/1.385, allocations: 19.94 kB / 1.538 GB, free: 7.746 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.9e-05/1.385, allocations: 24 kB / 1.538 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.608e-05/1.385, allocations: 11.97 kB / 1.538 GB, free: 7.711 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/1.412, allocations: 12.69 MB / 1.55 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/1.412, allocations: 8 kB / 1.55 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/1.413, allocations: 163.8 kB / 1.55 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01582/1.429, allocations: 4.501 MB / 1.555 GB, free: 6.16 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004004/1.429, allocations: 32.12 kB / 1.555 GB, free: 6.129 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05155/1.481, allocations: 32.23 MB / 1.586 GB, free: 5.059 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/1.481, allocations: 15.92 kB / 1.586 GB, free: 5.043 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.499, allocations: 8.097 MB / 1.594 GB, free: 12.82 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.5, allocations: 0.6284 MB / 1.595 GB, free: 12.18 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/1.501, allocations: 32 kB / 1.595 GB, free: 12.14 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.502, allocations: 139.8 kB / 1.595 GB, free: 12.01 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008672/1.503, allocations: 172.8 kB / 1.595 GB, free: 11.84 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.503, allocations: 52 kB / 1.595 GB, free: 11.79 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00151/1.505, allocations: 0.9588 MB / 1.596 GB, free: 10.83 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.11e-07/1.505, allocations: 0 / 1.596 GB, free: 10.83 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004135/1.509, allocations: 1.117 MB / 1.597 GB, free: 9.715 MB / 1.279 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01842/1.528, allocations: 8.704 MB / 1.606 GB, free: 0.8672 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01379/1.541, allocations: 6.308 MB / 1.612 GB, free: 10.48 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.541, allocations: 0 / 1.612 GB, free: 10.48 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/1.552, allocations: 4.206 MB / 1.616 GB, free: 6.195 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/1.554, allocations: 0.5213 MB / 1.616 GB, free: 5.684 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06698/1.621, allocations: 33.45 MB / 1.649 GB, free: 3.309 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00348/1.625, allocations: 2.719 MB / 1.652 GB, free: 0.5547 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.00113/1.626, allocations: 396.5 kB / 1.652 GB, free: 168 kB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/1.628, allocations: 1.214 MB / 1.653 GB, free: 14.95 MB / 1.342 GB Notification: Performance of SimCode: time 6.61e-07/1.628, allocations: 0 / 1.653 GB, free: 14.95 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/1.782, allocations: 84.58 MB / 1.736 GB, free: 10.94 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.72, allocations: 9.922 kB / 1.736 GB, free: 10.94 MB / 1.42 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.817295376968104]