Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001981/0.001981, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.001964/0.001964, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.701/2.701, allocations: 476.7 MB / 0.7611 GB, free: 11.29 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_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 1.104 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7446, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04795/0.7926, allocations: 38.59 MB / 1.306 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.8131, allocations: 11.12 MB / 1.317 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003793/0.8169, allocations: 159.3 kB / 1.317 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01195/0.8288, allocations: 4.423 MB / 1.322 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.836, allocations: 2.328 MB / 1.324 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006345/0.8424, allocations: 2.173 MB / 1.326 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01215/0.8545, allocations: 9.284 MB / 1.335 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.8692, allocations: 8.536 MB / 1.344 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007258/0.8765, allocations: 4.051 MB / 1.348 GB, free: 4.172 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008987/0.8854, allocations: 4.755 MB / 1.352 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00249/0.8879, allocations: 0.8203 MB / 1.353 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004982/0.8929, allocations: 1.611 MB / 1.355 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005212/0.8981, allocations: 3.231 MB / 1.358 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006971/0.9051, allocations: 3.657 MB / 1.361 GB, free: 6.059 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.9224, allocations: 12.34 MB / 1.373 GB, free: 9.676 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9224, allocations: 0 / 1.373 GB, free: 9.676 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9224, allocations: 7.938 kB / 1.373 GB, free: 9.668 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003981/0.9228, allocations: 0 / 1.373 GB, free: 9.668 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01814/0.941, allocations: 6.465 MB / 1.38 GB, free: 3.125 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.941, allocations: 8.031 kB / 1.38 GB, free: 3.117 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002531/0.9435, allocations: 0.8294 MB / 1.38 GB, free: 2.277 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006446/0.95, allocations: 1.106 MB / 1.382 GB, free: 1.168 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009467/0.9595, allocations: 3.624 MB / 1.385 GB, free: 13.49 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004722/0.9599, allocations: 419.8 kB / 1.385 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002069/0.962, allocations: 0.5471 MB / 1.386 GB, free: 12.54 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.9827, allocations: 9.381 MB / 1.395 GB, free: 2.82 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001845/0.9829, allocations: 15.88 kB / 1.395 GB, free: 2.805 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.9842, allocations: 244 kB / 1.395 GB, free: 2.566 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006519/0.9848, allocations: 418.9 kB / 1.396 GB, free: 2.156 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.999, allocations: 7.127 MB / 1.403 GB, free: 11.02 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05233/1.051, allocations: 41.08 MB / 1.443 GB, free: 14.2 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005007/1.056, allocations: 2.9 MB / 1.446 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/1.06, allocations: 1.95 MB / 1.448 GB, free: 9.34 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/1.06, allocations: 26 kB / 1.448 GB, free: 9.312 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/1.06, allocations: 64.56 kB / 1.448 GB, free: 9.242 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 3.817e-06/1.06, allocations: 0 / 1.448 GB, free: 9.242 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02582/1.086, allocations: 10.57 MB / 1.458 GB, free: 14.58 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/1.086, allocations: 77.41 kB / 1.458 GB, free: 14.49 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/1.089, allocations: 2.013 MB / 1.46 GB, free: 12.46 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/1.089, allocations: 65.64 kB / 1.46 GB, free: 12.39 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001896/1.091, allocations: 2.478 MB / 1.463 GB, free: 9.887 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008169/1.092, allocations: 0.7591 MB / 1.463 GB, free: 9.121 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/1.093, allocations: 489.5 kB / 1.464 GB, free: 8.637 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.093, allocations: 301.1 kB / 1.464 GB, free: 8.34 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/1.095, allocations: 1.376 MB / 1.465 GB, free: 6.961 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/1.098, allocations: 2.112 MB / 1.467 GB, free: 4.535 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005439/1.103, allocations: 3.762 MB / 1.471 GB, free: 476 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.103, allocations: 8 kB / 1.471 GB, free: 468 kB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009121/1.113, allocations: 5.027 MB / 1.476 GB, free: 11.4 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/1.113, allocations: 16.22 kB / 1.476 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-05/1.113, allocations: 28 kB / 1.476 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/1.117, allocations: 1.577 MB / 1.478 GB, free: 9.773 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/1.118, allocations: 455.2 kB / 1.478 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02513/1.144, allocations: 18.58 MB / 1.496 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/1.146, allocations: 147.9 kB / 1.496 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003541/1.146, allocations: 104.1 kB / 1.496 GB, free: 5.945 MB / 1.201 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00362/1.15, allocations: 1.946 MB / 1.498 GB, free: 3.988 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007675/1.15, allocations: 306.2 kB / 1.499 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/1.159, allocations: 4.396 MB / 1.503 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/1.159, allocations: 24 kB / 1.503 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-05/1.159, allocations: 16 kB / 1.503 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.159, allocations: 11.95 kB / 1.503 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.177, allocations: 9.621 MB / 1.512 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.177, allocations: 7.938 kB / 1.512 GB, free: 5.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.178, allocations: 231.6 kB / 1.513 GB, free: 5.203 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00357/1.182, allocations: 1.431 MB / 1.514 GB, free: 3.762 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/1.182, allocations: 40 kB / 1.514 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02525/1.207, allocations: 18.58 MB / 1.532 GB, free: 0.5859 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.207, allocations: 4 kB / 1.532 GB, free: 0.582 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008162/1.215, allocations: 4.507 MB / 1.537 GB, free: 11.98 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/1.217, allocations: 0.6436 MB / 1.537 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005914/1.218, allocations: 43.98 kB / 1.537 GB, free: 11.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.219, allocations: 115.9 kB / 1.537 GB, free: 11.16 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005457/1.22, allocations: 177.6 kB / 1.538 GB, free: 10.99 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/1.22, allocations: 63.98 kB / 1.538 GB, free: 10.93 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002189/1.222, allocations: 1.311 MB / 1.539 GB, free: 9.605 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/1.222, allocations: 0 / 1.539 GB, free: 9.605 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003238/1.225, allocations: 1.145 MB / 1.54 GB, free: 8.461 MB / 1.248 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008005/1.233, allocations: 5.118 MB / 1.545 GB, free: 3.246 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0082/1.241, allocations: 4.551 MB / 1.549 GB, free: 14.65 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.241, allocations: 1 kB / 1.549 GB, free: 14.65 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005044/1.246, allocations: 2.8 MB / 1.552 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004203/1.251, allocations: 0.882 MB / 1.553 GB, free: 10.93 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05318/1.304, allocations: 30.43 MB / 1.583 GB, free: 11.28 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004617/1.308, allocations: 3.698 MB / 1.586 GB, free: 7.543 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001861/1.31, allocations: 0.5556 MB / 1.587 GB, free: 6.98 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/1.313, allocations: 1.952 MB / 1.589 GB, free: 5.027 MB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/1.313, allocations: 3.938 kB / 1.589 GB, free: 5.023 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7237/2.037, allocations: 85.86 MB / 1.673 GB, free: 280.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/16.9, allocations: 14.72 kB / 1.673 GB, free: 280.1 MB / 1.311 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 23.430388685315847]