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.00153/0.00153, allocations: 109.2 kB / 17.96 MB, free: 4.039 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.001554/0.001554, allocations: 200.4 kB / 21.22 MB, free: 0.793 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.398/1.398, allocations: 225.6 MB / 249.9 MB, free: 13.31 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.712/2.712, allocations: 476.7 MB / 0.7635 GB, free: 10.16 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.002028/0.002028, allocations: 68.08 kB / 1.108 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6822/0.6843, allocations: 168.7 MB / 1.272 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0481/0.7324, allocations: 39.79 MB / 1.311 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.7547, allocations: 11.4 MB / 1.322 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003999/0.7587, allocations: 155.3 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.7707, allocations: 4.521 MB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006755/0.7774, allocations: 2.336 MB / 1.329 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.7836, allocations: 2.24 MB / 1.331 GB, free: 7.746 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01227/0.7958, allocations: 9.276 MB / 1.34 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01146/0.8073, allocations: 5.97 MB / 1.346 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.814, allocations: 4.063 MB / 1.35 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007923/0.8219, allocations: 4.747 MB / 1.355 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002169/0.8241, allocations: 0.8203 MB / 1.356 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004057/0.8281, allocations: 1.615 MB / 1.357 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004026/0.8322, allocations: 3.235 MB / 1.36 GB, free: 9.844 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005358/0.8375, allocations: 3.649 MB / 1.364 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.8521, allocations: 12.34 MB / 1.376 GB, free: 9.797 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.8521, allocations: 7.938 kB / 1.376 GB, free: 9.789 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8521, allocations: 0 / 1.376 GB, free: 9.789 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002914/0.8524, allocations: 0 / 1.376 GB, free: 9.789 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.0168/0.8692, allocations: 6.471 MB / 1.382 GB, free: 3.238 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.8692, allocations: 8.031 kB / 1.382 GB, free: 3.23 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001887/0.8711, allocations: 0.8255 MB / 1.383 GB, free: 2.395 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.8771, allocations: 1.102 MB / 1.384 GB, free: 1.289 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008489/0.8856, allocations: 3.62 MB / 1.388 GB, free: 13.62 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/0.886, allocations: 427.7 kB / 1.388 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.8873, allocations: 0.5433 MB / 1.389 GB, free: 12.66 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.9058, allocations: 9.386 MB / 1.398 GB, free: 2.938 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.9059, allocations: 15.88 kB / 1.398 GB, free: 2.922 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007063/0.9066, allocations: 248 kB / 1.398 GB, free: 2.68 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006118/0.9072, allocations: 422.9 kB / 1.399 GB, free: 2.266 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.9231, allocations: 7.123 MB / 1.406 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04959/0.9727, allocations: 41.07 MB / 1.446 GB, free: 14.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004689/0.9774, allocations: 2.909 MB / 1.449 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.9804, allocations: 1.953 MB / 1.45 GB, free: 9.457 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.9805, allocations: 25.98 kB / 1.45 GB, free: 9.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/0.9805, allocations: 60.56 kB / 1.45 GB, free: 9.363 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 4.809e-06/0.9805, allocations: 0 / 1.45 GB, free: 9.363 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02422/1.005, allocations: 10.58 MB / 1.461 GB, free: 14.69 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.005, allocations: 73.41 kB / 1.461 GB, free: 14.61 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/1.008, allocations: 2.009 MB / 1.463 GB, free: 12.58 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002109/1.008, allocations: 65.69 kB / 1.463 GB, free: 12.51 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001922/1.01, allocations: 2.474 MB / 1.465 GB, free: 10.01 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007515/1.011, allocations: 0.763 MB / 1.466 GB, free: 9.238 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007796/1.011, allocations: 481.5 kB / 1.467 GB, free: 8.762 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.012, allocations: 309.1 kB / 1.467 GB, free: 8.457 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/1.014, allocations: 1.376 MB / 1.468 GB, free: 7.078 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/1.016, allocations: 2.104 MB / 1.47 GB, free: 4.66 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/1.022, allocations: 3.77 MB / 1.474 GB, free: 0.582 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.022, allocations: 4 kB / 1.474 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008849/1.031, allocations: 5.027 MB / 1.479 GB, free: 11.53 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/1.031, allocations: 16 kB / 1.479 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/1.031, allocations: 27.98 kB / 1.479 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/1.034, allocations: 1.581 MB / 1.48 GB, free: 9.895 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.036, allocations: 451.2 kB / 1.481 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02545/1.061, allocations: 18.58 MB / 1.499 GB, free: 6.309 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.064, allocations: 147.9 kB / 1.499 GB, free: 6.164 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004036/1.064, allocations: 104 kB / 1.499 GB, free: 6.062 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.003406/1.067, allocations: 1.942 MB / 1.501 GB, free: 4.109 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007377/1.068, allocations: 306.2 kB / 1.501 GB, free: 3.809 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008325/1.076, allocations: 4.396 MB / 1.506 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.076, allocations: 20 kB / 1.506 GB, free: 15.36 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/1.077, allocations: 16 kB / 1.506 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/1.077, allocations: 11.95 kB / 1.506 GB, free: 15.33 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/1.094, allocations: 9.629 MB / 1.515 GB, free: 5.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.094, allocations: 4 kB / 1.515 GB, free: 5.555 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/1.095, allocations: 235.6 kB / 1.515 GB, free: 5.324 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/1.098, allocations: 1.421 MB / 1.517 GB, free: 3.895 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.098, allocations: 40 kB / 1.517 GB, free: 3.855 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02409/1.122, allocations: 18.58 MB / 1.535 GB, free: 0.707 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.122, allocations: 11.94 kB / 1.535 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007813/1.13, allocations: 4.507 MB / 1.539 GB, free: 12.1 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.132, allocations: 0.6436 MB / 1.54 GB, free: 11.43 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/1.133, allocations: 36 kB / 1.54 GB, free: 11.4 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.134, allocations: 119.8 kB / 1.54 GB, free: 11.28 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005139/1.135, allocations: 177.6 kB / 1.54 GB, free: 11.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.135, allocations: 60 kB / 1.54 GB, free: 11.05 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002069/1.137, allocations: 1.319 MB / 1.542 GB, free: 9.723 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/1.137, allocations: 0 / 1.542 GB, free: 9.723 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003345/1.14, allocations: 1.141 MB / 1.543 GB, free: 8.582 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.00782/1.148, allocations: 5.11 MB / 1.548 GB, free: 3.375 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007825/1.156, allocations: 4.559 MB / 1.552 GB, free: 14.77 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.156, allocations: 4 kB / 1.552 GB, free: 14.77 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/1.161, allocations: 2.801 MB / 1.555 GB, free: 11.91 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.164, allocations: 0.8874 MB / 1.556 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04911/1.214, allocations: 30.58 MB / 1.586 GB, free: 11.25 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004369/1.218, allocations: 3.698 MB / 1.589 GB, free: 7.516 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001858/1.22, allocations: 0.5517 MB / 1.59 GB, free: 6.957 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002328/1.222, allocations: 1.944 MB / 1.592 GB, free: 5.012 MB / 1.295 GB Notification: Performance of SimCode: time 8.41e-07/1.222, allocations: 0 / 1.592 GB, free: 5.012 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7224/1.945, allocations: 86.32 MB / 1.676 GB, free: 278.9 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.96, allocations: 7.922 kB / 1.676 GB, free: 278.9 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.495355990016833]