Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001437/0.001437, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.00141/0.00141, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 9.109 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 3.203/3.203, allocations: 0.49 GB / 0.7916 GB, free: 33.59 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.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",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.002032/0.002032, allocations: 67.73 kB / 1.149 GB, free: 26.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04261/0.4072, allocations: 33.18 MB / 1.353 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.4264, allocations: 10.43 MB / 1.363 GB, free: 7.652 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.4298, allocations: 194.5 kB / 1.364 GB, free: 7.461 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.44, allocations: 3.775 MB / 1.367 GB, free: 3.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.4463, allocations: 1.956 MB / 1.369 GB, free: 1.715 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006285/0.4526, allocations: 2.134 MB / 1.371 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009956/0.4625, allocations: 7.325 MB / 1.378 GB, free: 8.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.476, allocations: 7.054 MB / 1.385 GB, free: 1.059 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00689/0.4829, allocations: 3.272 MB / 1.389 GB, free: 13.78 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006578/0.4895, allocations: 3.672 MB / 1.392 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002192/0.4917, allocations: 0.6484 MB / 1.393 GB, free: 9.445 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004779/0.4965, allocations: 1.81 MB / 1.394 GB, free: 7.633 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0044/0.5009, allocations: 2.615 MB / 1.397 GB, free: 5.012 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007078/0.5079, allocations: 2.898 MB / 1.4 GB, free: 2.102 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.523, allocations: 10.12 MB / 1.41 GB, free: 7.941 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.523, allocations: 4 kB / 1.41 GB, free: 7.938 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.713e-06/0.523, allocations: 4 kB / 1.41 GB, free: 7.934 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003701/0.5234, allocations: 0 / 1.41 GB, free: 7.934 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01729/0.5407, allocations: 5.124 MB / 1.415 GB, free: 2.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/0.5408, allocations: 15.98 kB / 1.415 GB, free: 2.715 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003253/0.544, allocations: 0.682 MB / 1.415 GB, free: 2.023 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0079/0.5519, allocations: 0.9774 MB / 1.416 GB, free: 1.043 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009099/0.561, allocations: 3.059 MB / 1.419 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004569/0.5615, allocations: 349.6 kB / 1.42 GB, free: 13.58 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/0.5637, allocations: 468.3 kB / 1.42 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/0.5872, allocations: 7.655 MB / 1.428 GB, free: 5.121 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003924/0.5876, allocations: 35.81 kB / 1.428 GB, free: 5.086 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002158/0.5897, allocations: 200 kB / 1.428 GB, free: 4.891 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005399/0.5903, allocations: 309 kB / 1.428 GB, free: 4.586 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.6036, allocations: 5.714 MB / 1.434 GB, free: 14.86 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04649/0.65, allocations: 34.89 MB / 1.468 GB, free: 8.762 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.6533, allocations: 2.013 MB / 1.47 GB, free: 6.629 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.6552, allocations: 1.124 MB / 1.471 GB, free: 5.504 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.6553, allocations: 13.31 kB / 1.471 GB, free: 5.492 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.6554, allocations: 43.88 kB / 1.471 GB, free: 5.441 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 4.138e-06/0.6554, allocations: 0 / 1.471 GB, free: 5.441 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01518/0.6705, allocations: 7.114 MB / 1.478 GB, free: 14.06 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.6706, allocations: 64.72 kB / 1.478 GB, free: 13.98 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.6731, allocations: 1.492 MB / 1.479 GB, free: 12.45 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.712e-05/0.6732, allocations: 45.7 kB / 1.479 GB, free: 12.39 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.6747, allocations: 2.069 MB / 1.481 GB, free: 10.3 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.6751, allocations: 0.4996 MB / 1.482 GB, free: 9.801 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/0.6757, allocations: 355.3 kB / 1.482 GB, free: 9.445 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6758, allocations: 305.1 kB / 1.483 GB, free: 9.145 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.6773, allocations: 0.9135 MB / 1.483 GB, free: 8.23 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.6792, allocations: 1.589 MB / 1.485 GB, free: 6.328 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.6828, allocations: 2.733 MB / 1.488 GB, free: 3.285 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.6828, allocations: 11.94 kB / 1.488 GB, free: 3.273 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006509/0.6893, allocations: 3.508 MB / 1.491 GB, free: 15.72 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.6894, allocations: 19.94 kB / 1.491 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.6894, allocations: 24 kB / 1.491 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/0.6921, allocations: 0.9043 MB / 1.492 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.6933, allocations: 355.3 kB / 1.492 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/0.7169, allocations: 23.12 MB / 1.515 GB, free: 5.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7186, allocations: 95.97 kB / 1.515 GB, free: 5.496 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.7189, allocations: 87.98 kB / 1.515 GB, free: 5.41 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002846/0.7218, allocations: 1.609 MB / 1.517 GB, free: 3.789 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/0.7223, allocations: 214.6 kB / 1.517 GB, free: 3.578 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005811/0.7281, allocations: 2.963 MB / 1.52 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.7281, allocations: 20 kB / 1.52 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-05/0.7281, allocations: 12 kB / 1.52 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.7282, allocations: 7.969 kB / 1.52 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.7428, allocations: 7.309 MB / 1.527 GB, free: 8.988 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.7428, allocations: 4 kB / 1.527 GB, free: 8.984 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/0.7436, allocations: 175.7 kB / 1.527 GB, free: 8.812 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/0.7462, allocations: 0.8222 MB / 1.528 GB, free: 7.953 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.7463, allocations: 28 kB / 1.528 GB, free: 7.926 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.7686, allocations: 21.96 MB / 1.549 GB, free: 280 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.7686, allocations: 7.938 kB / 1.549 GB, free: 272 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005962/0.7746, allocations: 3.007 MB / 1.552 GB, free: 13.15 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.7757, allocations: 479.5 kB / 1.553 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.7761, allocations: 31.94 kB / 1.553 GB, free: 12.63 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7772, allocations: 75.97 kB / 1.553 GB, free: 12.55 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/0.7776, allocations: 124.7 kB / 1.553 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-05/0.7777, allocations: 36 kB / 1.553 GB, free: 12.39 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001657/0.7793, allocations: 0.9756 MB / 1.554 GB, free: 11.39 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.7793, allocations: 0 / 1.554 GB, free: 11.39 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003087/0.7824, allocations: 0.7891 MB / 1.555 GB, free: 10.61 MB / 1.264 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005797/0.7882, allocations: 3.607 MB / 1.558 GB, free: 6.875 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006363/0.7946, allocations: 3.914 MB / 1.562 GB, free: 2.816 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.7946, allocations: 1 kB / 1.562 GB, free: 2.816 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004007/0.7986, allocations: 2.666 MB / 1.565 GB, free: 15.99 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/0.8025, allocations: 0.7323 MB / 1.566 GB, free: 15.28 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/0.8457, allocations: 22.42 MB / 1.587 GB, free: 7.84 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/0.8509, allocations: 3.113 MB / 1.59 GB, free: 4.699 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001527/0.8524, allocations: 446 kB / 1.591 GB, free: 4.262 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/0.8547, allocations: 1.542 MB / 1.592 GB, free: 2.719 MB / 1.295 GB Notification: Performance of SimCode: time 1.473e-06/0.8547, allocations: 0 / 1.592 GB, free: 2.719 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8892/1.744, allocations: 61.85 MB / 1.653 GB, free: 262.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.97, allocations: 6.734 kB / 1.653 GB, free: 262.1 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.098680641967803]