Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.000787/0.000787, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001248/0.001248, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.877/0.877, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.505e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02352/0.02353, allocations: 33.02 MB / 0.9828 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.03644, allocations: 11.37 MB / 0.9939 GB, free: 6.926 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.03909, allocations: 206.5 kB / 0.9941 GB, free: 6.723 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.005701/0.04479, allocations: 4.279 MB / 0.9982 GB, free: 2.434 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.04964, allocations: 2.14 MB / 1 GB, free: 288 kB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.0544, allocations: 2.446 MB / 1.003 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.007603/0.06201, allocations: 8.611 MB / 1.011 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007865/0.06987, allocations: 6.182 MB / 1.017 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00698/0.07685, allocations: 5.399 MB / 1.022 GB, free: 9.488 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004785/0.08164, allocations: 3.897 MB / 1.026 GB, free: 5.582 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.08314, allocations: 0.7852 MB / 1.027 GB, free: 4.797 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.0863, allocations: 1.93 MB / 1.029 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.002798/0.08909, allocations: 3.27 MB / 1.032 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003697/0.09279, allocations: 2.374 MB / 1.034 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.1031, allocations: 12.24 MB / 1.046 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.1031, allocations: 0 / 1.046 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.936e-06/0.1031, allocations: 0 / 1.046 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004709/0.1035, allocations: 0 / 1.046 GB, free: 0.9375 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.4239/0.5275, allocations: 5.801 MB / 1.052 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5275, allocations: 11.31 kB / 1.052 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/0.5287, allocations: 0.8092 MB / 1.053 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/0.5324, allocations: 1.091 MB / 1.054 GB, free: 126 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005016/0.5374, allocations: 3.42 MB / 1.057 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.5376, allocations: 413.6 kB / 1.058 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.539, allocations: 0.5419 MB / 1.058 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.5514, allocations: 9.381 MB / 1.067 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.5516, allocations: 31.11 kB / 1.067 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000707/0.5523, allocations: 238.7 kB / 1.068 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.5525, allocations: 354.5 kB / 1.068 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009643/0.5621, allocations: 6.82 MB / 1.075 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02827/0.5904, allocations: 25.09 MB / 1.099 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.593, allocations: 2.294 MB / 1.101 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.595, allocations: 1.785 MB / 1.103 GB, free: 99.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.839e-05/0.5951, allocations: 19.53 kB / 1.103 GB, free: 99.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.5951, allocations: 54.59 kB / 1.103 GB, free: 99.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 4.408e-06/0.5951, allocations: 1.062 kB / 1.103 GB, free: 99.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.01683/0.6119, allocations: 9.688 MB / 1.113 GB, free: 95.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.612, allocations: 72.92 kB / 1.113 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.6137, allocations: 1.568 MB / 1.114 GB, free: 95.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.6139, allocations: 52.52 kB / 1.114 GB, free: 95.13 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/0.6148, allocations: 2.317 MB / 1.116 GB, free: 93.38 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.6152, allocations: 0.654 MB / 1.117 GB, free: 92.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.6156, allocations: 407.2 kB / 1.118 GB, free: 92.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.437e-05/0.6156, allocations: 302.4 kB / 1.118 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.6168, allocations: 1.174 MB / 1.119 GB, free: 91.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.6183, allocations: 1.89 MB / 1.121 GB, free: 90.62 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.6212, allocations: 3.365 MB / 1.124 GB, free: 88.58 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.6212, allocations: 10.94 kB / 1.124 GB, free: 88.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005516/0.6267, allocations: 4.539 MB / 1.129 GB, free: 86.78 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.6267, allocations: 18.97 kB / 1.129 GB, free: 86.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.6267, allocations: 26.31 kB / 1.129 GB, free: 86.77 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/0.6292, allocations: 1.573 MB / 1.13 GB, free: 86.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.6301, allocations: 358.8 kB / 1.13 GB, free: 86.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.6457, allocations: 17.93 MB / 1.148 GB, free: 75.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.6472, allocations: 115.2 kB / 1.148 GB, free: 75.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.6473, allocations: 100.9 kB / 1.148 GB, free: 75.15 MB / 0.9948 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002374/0.6497, allocations: 1.894 MB / 1.15 GB, free: 73.59 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.6501, allocations: 238.5 kB / 1.15 GB, free: 73.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.6538, allocations: 4.044 MB / 1.154 GB, free: 69.29 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6538, allocations: 16 kB / 1.154 GB, free: 69.28 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6538, allocations: 24 kB / 1.154 GB, free: 69.25 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6538, allocations: 7.969 kB / 1.154 GB, free: 69.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009617/0.6634, allocations: 8.66 MB / 1.163 GB, free: 60.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.6634, allocations: 4 kB / 1.163 GB, free: 60.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.6639, allocations: 187.7 kB / 1.163 GB, free: 60.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.6656, allocations: 1.348 MB / 1.164 GB, free: 58.93 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/0.6657, allocations: 36 kB / 1.164 GB, free: 58.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.6766, allocations: 16.72 MB / 1.181 GB, free: 41.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6766, allocations: 8 kB / 1.181 GB, free: 41.72 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.6804, allocations: 4.031 MB / 1.185 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/0.6813, allocations: 474.4 kB / 1.185 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.6815, allocations: 36.11 kB / 1.185 GB, free: 37.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.682, allocations: 91.91 kB / 1.185 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/0.6823, allocations: 169.5 kB / 1.185 GB, free: 36.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.6824, allocations: 44 kB / 1.185 GB, free: 36.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008029/0.6832, allocations: 1.005 MB / 1.186 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6832, allocations: 0 / 1.186 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002705/0.6859, allocations: 0.9883 MB / 1.187 GB, free: 34.79 MB / 0.9948 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003723/0.6896, allocations: 4.63 MB / 1.192 GB, free: 30.06 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004048/0.6937, allocations: 4.156 MB / 1.196 GB, free: 25.85 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6937, allocations: 0 / 1.196 GB, free: 25.85 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.696, allocations: 2.574 MB / 1.198 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.6981, allocations: 0.7966 MB / 1.199 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.7266, allocations: 27.04 MB / 1.226 GB, free: 10.36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/0.7301, allocations: 3.035 MB / 1.228 GB, free: 7.285 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001103/0.7312, allocations: 463.9 kB / 1.229 GB, free: 6.828 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/0.7328, allocations: 1.789 MB / 1.231 GB, free: 5.035 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/0.7328, allocations: 0 / 1.231 GB, free: 5.035 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09787/0.8307, allocations: 78.55 MB / 1.307 GB, free: 7.523 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/9.051, allocations: 8.047 kB / 1.307 GB, free: 7.516 MB / 1.089 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 13.303639405407012]