Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00147/0.00147, 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.001596/0.001596, allocations: 209.6 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.854/2.854, allocations: 476.7 MB / 0.7678 GB, free: 9.453 MB / 0.6075 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.ACLineMatrix_RL,fileNamePrefix="Buildings_11_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_11_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.002012/0.002012, allocations: 71.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8796/0.8816, 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_RL): time 0.04398/0.9255, allocations: 22.97 MB / 1.301 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.9408, allocations: 6.321 MB / 1.308 GB, free: 7.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.9429, allocations: 124.4 kB / 1.308 GB, free: 7.703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004088/0.947, allocations: 1.568 MB / 1.309 GB, free: 6.781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.9516, allocations: 1.724 MB / 1.311 GB, free: 5.773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.9553, allocations: 1.356 MB / 1.312 GB, free: 5.027 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00786/0.9632, allocations: 5.938 MB / 1.318 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006087/0.9693, allocations: 4.474 MB / 1.322 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.9735, allocations: 2.482 MB / 1.325 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.978, allocations: 3.07 MB / 1.328 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008834/0.9789, allocations: 457.5 kB / 1.328 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.9824, allocations: 1.114 MB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003407/0.9858, allocations: 2.095 MB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004275/0.9901, allocations: 2.16 MB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/1.001, allocations: 7.317 MB / 1.341 GB, free: 5.711 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.001, allocations: 7.875 kB / 1.341 GB, free: 5.703 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/1.001, allocations: 0 / 1.341 GB, free: 5.703 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002/1.001, allocations: 0 / 1.341 GB, free: 5.703 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01003/1.011, allocations: 3.914 MB / 1.344 GB, free: 2.984 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.011, allocations: 10.44 kB / 1.344 GB, free: 2.984 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001187/1.011, allocations: 90.3 kB / 1.345 GB, free: 2.973 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009419/1.012, allocations: 0.4962 MB / 1.345 GB, free: 2.617 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006647/1.019, allocations: 1.234 MB / 1.346 GB, free: 1.984 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/1.024, allocations: 2.35 MB / 1.349 GB, free: 456 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/1.024, allocations: 246.7 kB / 1.349 GB, free: 336 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007394/1.025, allocations: 310.1 kB / 1.349 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/1.036, allocations: 6.211 MB / 1.355 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.868e-05/1.036, allocations: 13.23 kB / 1.355 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004151/1.036, allocations: 146.4 kB / 1.355 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005226/1.037, allocations: 404.7 kB / 1.356 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009428/1.046, allocations: 4.662 MB / 1.36 GB, free: 8.629 MB / 1.045 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.04126/1.088, allocations: 29 MB / 1.389 GB, free: 8.918 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/1.09, allocations: 1.373 MB / 1.39 GB, free: 7.535 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/1.092, allocations: 1.436 MB / 1.391 GB, free: 6.098 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/1.092, allocations: 9 kB / 1.391 GB, free: 6.086 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.092, allocations: 51.5 kB / 1.391 GB, free: 6.027 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.326e-06/1.092, allocations: 0 / 1.391 GB, free: 6.027 MB / 1.076 GB Notification: Performance of matching and sorting (n=179): time 0.1549/1.247, allocations: 37.14 MB / 1.428 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/1.247, allocations: 77.28 kB / 1.428 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/1.249, allocations: 1.423 MB / 1.429 GB, free: 15.29 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003352/1.25, allocations: 53.7 kB / 1.429 GB, free: 15.23 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.251, allocations: 1.583 MB / 1.431 GB, free: 13.64 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008091/1.252, allocations: 0.6468 MB / 1.431 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008306/1.253, allocations: 387.5 kB / 1.432 GB, free: 12.6 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.253, allocations: 301.1 kB / 1.432 GB, free: 12.3 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/1.256, allocations: 1.784 MB / 1.434 GB, free: 10.51 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/1.259, allocations: 2.35 MB / 1.436 GB, free: 7.914 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/1.265, allocations: 4.387 MB / 1.44 GB, free: 3.285 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.265, allocations: 4 kB / 1.44 GB, free: 3.281 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01933/1.285, allocations: 8.435 MB / 1.449 GB, free: 10.81 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/1.285, allocations: 14.81 kB / 1.449 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.285, allocations: 16 kB / 1.449 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0163/1.301, allocations: 4.639 MB / 1.453 GB, free: 6.125 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.302, allocations: 303.5 kB / 1.453 GB, free: 5.828 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05371/1.356, allocations: 32.62 MB / 1.485 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/1.359, allocations: 147.8 kB / 1.485 GB, free: 4.211 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/1.359, allocations: 91.94 kB / 1.485 GB, free: 4.121 MB / 1.17 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.002524/1.361, allocations: 1.337 MB / 1.487 GB, free: 2.777 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/1.362, allocations: 210.7 kB / 1.487 GB, free: 2.57 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/1.381, allocations: 8.285 MB / 1.495 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/1.381, allocations: 23.94 kB / 1.495 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.093e-05/1.381, allocations: 24 kB / 1.495 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/1.381, allocations: 7.969 kB / 1.495 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/1.409, allocations: 12.7 MB / 1.508 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/1.409, allocations: 4 kB / 1.508 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/1.41, allocations: 167.7 kB / 1.508 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/1.426, allocations: 4.486 MB / 1.512 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/1.426, allocations: 43.98 kB / 1.512 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05461/1.481, allocations: 32.23 MB / 1.544 GB, free: 7.516 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/1.481, allocations: 8.125 kB / 1.544 GB, free: 7.508 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/1.5, allocations: 8.101 MB / 1.551 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/1.501, allocations: 0.6284 MB / 1.552 GB, free: 14.63 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/1.502, allocations: 40 kB / 1.552 GB, free: 14.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.503, allocations: 135.8 kB / 1.552 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008731/1.504, allocations: 169 kB / 1.552 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/1.504, allocations: 51.94 kB / 1.552 GB, free: 14.24 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001525/1.506, allocations: 0.9627 MB / 1.553 GB, free: 13.28 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.506, allocations: 0 / 1.553 GB, free: 13.28 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004545/1.511, allocations: 1.117 MB / 1.555 GB, free: 12.16 MB / 1.248 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.0192/1.53, allocations: 8.702 MB / 1.563 GB, free: 3.324 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.544, allocations: 6.296 MB / 1.569 GB, free: 12.96 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.544, allocations: 4 kB / 1.569 GB, free: 12.95 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01075/1.555, allocations: 4.198 MB / 1.573 GB, free: 8.672 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/1.558, allocations: 0.5392 MB / 1.574 GB, free: 8.141 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07097/1.629, allocations: 33.43 MB / 1.606 GB, free: 5.781 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003899/1.633, allocations: 2.731 MB / 1.609 GB, free: 3.016 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00118/1.634, allocations: 384.5 kB / 1.609 GB, free: 2.637 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/1.636, allocations: 1.214 MB / 1.611 GB, free: 1.422 MB / 1.295 GB Notification: Performance of SimCode: time 1.092e-06/1.636, allocations: 4 kB / 1.611 GB, free: 1.418 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1682/1.804, allocations: 84.61 MB / 1.693 GB, free: 13.36 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/16.25, allocations: 17.8 kB / 1.693 GB, free: 13.34 MB / 1.389 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.40790221199859]