Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001556/0.001556, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001918/0.001918, allocations: 222.2 kB / 22.25 MB, free: 5.258 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.805 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.073/3.073, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.00192/0.00192, allocations: 72.05 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2997, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03668/0.3363, allocations: 29.29 MB / 1.354 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.358, allocations: 13.19 MB / 1.367 GB, free: 6.883 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.3608, allocations: 194.5 kB / 1.368 GB, free: 6.691 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008658/0.3695, allocations: 3.216 MB / 1.371 GB, free: 3.469 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.3772, allocations: 2.747 MB / 1.373 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.3826, allocations: 2.019 MB / 1.375 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.3933, allocations: 7.619 MB / 1.383 GB, free: 7.039 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006979/0.4003, allocations: 4.646 MB / 1.387 GB, free: 2.273 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005885/0.4062, allocations: 3.666 MB / 1.391 GB, free: 14.6 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005841/0.412, allocations: 3.508 MB / 1.394 GB, free: 11.08 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.4131, allocations: 0.5938 MB / 1.395 GB, free: 10.48 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.416, allocations: 1.404 MB / 1.396 GB, free: 9.078 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002662/0.4186, allocations: 2.408 MB / 1.399 GB, free: 6.664 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.422, allocations: 2.338 MB / 1.401 GB, free: 4.316 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.4326, allocations: 9.512 MB / 1.41 GB, free: 10.77 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4326, allocations: 3.938 kB / 1.41 GB, free: 10.77 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4326, allocations: 0 / 1.41 GB, free: 10.77 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002168/0.4328, allocations: 0 / 1.41 GB, free: 10.77 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01167/0.4444, allocations: 5.179 MB / 1.415 GB, free: 5.523 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4445, allocations: 12.03 kB / 1.415 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009574/0.4454, allocations: 0.6164 MB / 1.416 GB, free: 4.883 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/0.4511, allocations: 1.02 MB / 1.417 GB, free: 3.859 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007955/0.459, allocations: 3.017 MB / 1.42 GB, free: 0.75 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.4593, allocations: 308.9 kB / 1.42 GB, free: 456 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.4607, allocations: 423.9 kB / 1.421 GB, free: 32 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.4749, allocations: 7.363 MB / 1.428 GB, free: 8.242 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.475, allocations: 19.83 kB / 1.428 GB, free: 8.223 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006165/0.4756, allocations: 184 kB / 1.428 GB, free: 8.043 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009377/0.4766, allocations: 376 kB / 1.428 GB, free: 7.672 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009638/0.4862, allocations: 5.102 MB / 1.433 GB, free: 2.551 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.5156, allocations: 19.78 MB / 1.453 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.5177, allocations: 1.301 MB / 1.454 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.5194, allocations: 1.246 MB / 1.455 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/0.5194, allocations: 13.31 kB / 1.455 GB, free: 11.67 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.5195, allocations: 59.81 kB / 1.455 GB, free: 11.6 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 3.056e-06/0.5195, allocations: 4 kB / 1.455 GB, free: 11.6 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.08911/0.6086, allocations: 22.85 MB / 1.477 GB, free: 4.684 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.6087, allocations: 73.41 kB / 1.478 GB, free: 4.598 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.6117, allocations: 2.097 MB / 1.48 GB, free: 2.484 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.612, allocations: 61.7 kB / 1.48 GB, free: 2.418 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.6136, allocations: 2.066 MB / 1.482 GB, free: 340 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007765/0.6144, allocations: 0.7049 MB / 1.482 GB, free: 15.62 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007856/0.6152, allocations: 412.4 kB / 1.483 GB, free: 15.21 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6153, allocations: 305.1 kB / 1.483 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.6175, allocations: 1.43 MB / 1.484 GB, free: 13.48 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.6202, allocations: 2.013 MB / 1.486 GB, free: 11.22 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005146/0.6253, allocations: 3.7 MB / 1.49 GB, free: 7.277 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.6253, allocations: 4 kB / 1.49 GB, free: 7.273 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01163/0.637, allocations: 5.596 MB / 1.495 GB, free: 1.609 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.637, allocations: 17.72 kB / 1.495 GB, free: 1.594 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/0.637, allocations: 16 kB / 1.495 GB, free: 1.578 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007193/0.6442, allocations: 2.08 MB / 1.498 GB, free: 15.44 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.6458, allocations: 379.4 kB / 1.498 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04275/0.6886, allocations: 36.28 MB / 1.533 GB, free: 8.715 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.6911, allocations: 131.9 kB / 1.533 GB, free: 8.586 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.6913, allocations: 88 kB / 1.534 GB, free: 8.5 MB / 1.232 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.00249/0.6938, allocations: 1.513 MB / 1.535 GB, free: 6.977 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005787/0.6944, allocations: 294.2 kB / 1.535 GB, free: 6.688 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.7054, allocations: 5.145 MB / 1.54 GB, free: 1.469 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.7054, allocations: 20 kB / 1.54 GB, free: 1.449 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.313e-05/0.7055, allocations: 20 kB / 1.54 GB, free: 1.43 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.7055, allocations: 7.969 kB / 1.54 GB, free: 1.422 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.7239, allocations: 9.091 MB / 1.549 GB, free: 8.129 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.7239, allocations: 8 kB / 1.549 GB, free: 8.121 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008733/0.7248, allocations: 212.5 kB / 1.549 GB, free: 7.914 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006287/0.7311, allocations: 1.838 MB / 1.551 GB, free: 6.02 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/0.7313, allocations: 43.94 kB / 1.551 GB, free: 5.977 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04109/0.7724, allocations: 35.28 MB / 1.586 GB, free: 0.6211 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/0.7724, allocations: 12.06 kB / 1.586 GB, free: 0.6094 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.7825, allocations: 4.855 MB / 1.59 GB, free: 11.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.7843, allocations: 0.5527 MB / 1.591 GB, free: 11.04 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/0.7848, allocations: 43.94 kB / 1.591 GB, free: 11 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.7862, allocations: 127.8 kB / 1.591 GB, free: 10.88 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006243/0.7869, allocations: 205.4 kB / 1.591 GB, free: 10.67 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.787, allocations: 56.19 kB / 1.591 GB, free: 10.62 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002098/0.7891, allocations: 1.378 MB / 1.593 GB, free: 9.23 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7891, allocations: 0 / 1.593 GB, free: 9.23 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003504/0.7926, allocations: 1.047 MB / 1.594 GB, free: 8.184 MB / 1.295 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00991/0.8025, allocations: 5.478 MB / 1.599 GB, free: 2.535 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.5788/1.381, allocations: 6.005 MB / 1.605 GB, free: 253.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/1.381, allocations: 1.969 kB / 1.605 GB, free: 253.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006551/1.388, allocations: 4.28 MB / 1.609 GB, free: 251.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/1.392, allocations: 0.9987 MB / 1.61 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05629/1.448, allocations: 30.75 MB / 1.64 GB, free: 239.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/1.451, allocations: 2.584 MB / 1.643 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001769/1.453, allocations: 0.5252 MB / 1.643 GB, free: 239.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.454, allocations: 1.669 MB / 1.645 GB, free: 237.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.613e-06/1.454, allocations: 2 kB / 1.645 GB, free: 237.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/1.618, allocations: 95.42 MB / 1.738 GB, free: 151.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/16.44, allocations: 3.125 kB / 1.738 GB, free: 151.8 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.48682029702468]