Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.725/2.725, allocations: 476.7 MB / 0.7637 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.88 kB / 1.108 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.712, allocations: 168.7 MB / 1.273 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04179/0.7538, allocations: 34.83 MB / 1.307 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02461/0.7784, allocations: 15.25 MB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.7816, allocations: 159.2 kB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.7918, allocations: 3.79 MB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008102/0.7999, allocations: 3.009 MB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00603/0.8059, allocations: 2.38 MB / 1.331 GB, free: 8.707 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.8173, allocations: 8.813 MB / 1.339 GB, free: 15.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009018/0.8263, allocations: 5.094 MB / 1.344 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00653/0.8328, allocations: 4.016 MB / 1.348 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007786/0.8406, allocations: 4.264 MB / 1.353 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002191/0.8428, allocations: 0.7188 MB / 1.353 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/0.8476, allocations: 1.748 MB / 1.355 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004384/0.852, allocations: 2.895 MB / 1.358 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006327/0.8583, allocations: 3.392 MB / 1.361 GB, free: 9.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.8732, allocations: 11.21 MB / 1.372 GB, free: 14.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8732, allocations: 0 / 1.372 GB, free: 14.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8732, allocations: 0 / 1.372 GB, free: 14.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003418/0.8735, allocations: 0 / 1.372 GB, free: 14.32 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01513/0.8886, allocations: 6.136 MB / 1.378 GB, free: 8.102 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.8887, allocations: 12.03 kB / 1.378 GB, free: 8.09 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001691/0.8904, allocations: 0.7309 MB / 1.379 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007863/0.8983, allocations: 1.164 MB / 1.38 GB, free: 6.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008878/0.9071, allocations: 3.542 MB / 1.383 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.9075, allocations: 374.3 kB / 1.384 GB, free: 2.195 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.9088, allocations: 0.492 MB / 1.384 GB, free: 1.703 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.924, allocations: 8.005 MB / 1.392 GB, free: 9.418 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.9242, allocations: 23.77 kB / 1.392 GB, free: 9.395 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006192/0.9248, allocations: 220 kB / 1.392 GB, free: 9.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/0.926, allocations: 433.6 kB / 1.393 GB, free: 8.754 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.9385, allocations: 6.085 MB / 1.399 GB, free: 2.656 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04136/0.9798, allocations: 34.95 MB / 1.433 GB, free: 12.53 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.9827, allocations: 1.909 MB / 1.435 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/0.9854, allocations: 1.752 MB / 1.436 GB, free: 8.863 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.98e-05/0.9855, allocations: 18 kB / 1.436 GB, free: 8.844 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.9855, allocations: 60.5 kB / 1.436 GB, free: 8.777 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 3.507e-06/0.9855, allocations: 0 / 1.436 GB, free: 8.777 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1593/1.145, allocations: 38.85 MB / 1.474 GB, free: 1.828 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/1.145, allocations: 85.58 kB / 1.474 GB, free: 1.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/1.148, allocations: 2.282 MB / 1.477 GB, free: 15.43 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003805/1.149, allocations: 73.7 kB / 1.477 GB, free: 15.36 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001946/1.151, allocations: 2.334 MB / 1.479 GB, free: 13 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/1.152, allocations: 0.9798 MB / 1.48 GB, free: 12.01 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009802/1.153, allocations: 0.5102 MB / 1.48 GB, free: 11.49 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.153, allocations: 305.1 kB / 1.481 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/1.156, allocations: 1.981 MB / 1.483 GB, free: 9.207 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/1.16, allocations: 2.595 MB / 1.485 GB, free: 6.371 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007293/1.167, allocations: 4.937 MB / 1.49 GB, free: 1.16 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/1.167, allocations: 4 kB / 1.49 GB, free: 1.156 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01561/1.182, allocations: 7.654 MB / 1.497 GB, free: 9.43 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/1.182, allocations: 17.97 kB / 1.497 GB, free: 9.414 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/1.183, allocations: 16 kB / 1.498 GB, free: 9.398 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009627/1.192, allocations: 3.212 MB / 1.501 GB, free: 6.168 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/1.194, allocations: 407.2 kB / 1.501 GB, free: 5.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05054/1.245, allocations: 33.91 MB / 1.534 GB, free: 3.012 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.247, allocations: 159.8 kB / 1.534 GB, free: 2.855 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/1.248, allocations: 108 kB / 1.534 GB, free: 2.75 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003513/1.251, allocations: 1.792 MB / 1.536 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000816/1.252, allocations: 357.8 kB / 1.537 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/1.267, allocations: 7.239 MB / 1.544 GB, free: 9.277 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.267, allocations: 24 kB / 1.544 GB, free: 9.254 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-05/1.267, allocations: 32 kB / 1.544 GB, free: 9.223 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/1.267, allocations: 15.94 kB / 1.544 GB, free: 9.207 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02462/1.292, allocations: 12.8 MB / 1.556 GB, free: 12.23 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.292, allocations: 4 kB / 1.556 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.293, allocations: 227.6 kB / 1.556 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008416/1.301, allocations: 2.849 MB / 1.559 GB, free: 9.133 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/1.301, allocations: 55.94 kB / 1.559 GB, free: 9.078 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0469/1.348, allocations: 32.71 MB / 1.591 GB, free: 7.52 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/1.348, allocations: 11.94 kB / 1.591 GB, free: 7.508 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/1.361, allocations: 6.779 MB / 1.598 GB, free: 0.5195 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.364, allocations: 0.7956 MB / 1.599 GB, free: 15.7 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005847/1.364, allocations: 52 kB / 1.599 GB, free: 15.65 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.366, allocations: 171.8 kB / 1.599 GB, free: 15.48 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000873/1.367, allocations: 253.4 kB / 1.599 GB, free: 15.23 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.367, allocations: 76 kB / 1.599 GB, free: 15.16 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002393/1.37, allocations: 1.525 MB / 1.601 GB, free: 13.63 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/1.37, allocations: 0 / 1.601 GB, free: 13.63 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004353/1.374, allocations: 1.367 MB / 1.602 GB, free: 12.27 MB / 1.311 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0136/1.388, allocations: 7.412 MB / 1.609 GB, free: 4.629 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.5726/1.96, allocations: 6.553 MB / 1.616 GB, free: 317 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.96, allocations: 6.031 kB / 1.616 GB, free: 317 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.008672/1.969, allocations: 4.25 MB / 1.62 GB, free: 316.1 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/1.974, allocations: 1.112 MB / 1.621 GB, free: 316 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05836/2.032, allocations: 39.08 MB / 1.659 GB, free: 299.8 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00346/2.036, allocations: 3.649 MB / 1.663 GB, free: 297 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001928/2.038, allocations: 0.5589 MB / 1.663 GB, free: 296.5 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/2.04, allocations: 1.969 MB / 1.665 GB, free: 294.7 MB / 1.311 GB Notification: Performance of SimCode: time 1.132e-06/2.04, allocations: 4 kB / 1.665 GB, free: 294.7 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/2.196, allocations: 113.3 MB / 1.776 GB, free: 183.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/18.9, allocations: 7.438 kB / 1.776 GB, free: 183.2 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 25.487851655110717]