Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00171/0.00171, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002323/0.002323, allocations: 208.8 kB / 23.03 MB, free: 4.926 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.679/2.679, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",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.001993/0.001993, allocations: 65.36 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03845/0.3384, allocations: 31.49 MB / 1.315 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.3562, allocations: 10.27 MB / 1.325 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.3596, allocations: 194.5 kB / 1.325 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009906/0.3695, allocations: 3.728 MB / 1.329 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.3759, allocations: 1.948 MB / 1.331 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.3815, allocations: 2.138 MB / 1.333 GB, free: 8.758 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009939/0.3915, allocations: 7.326 MB / 1.34 GB, free: 1.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007966/0.3994, allocations: 5.151 MB / 1.345 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/0.405, allocations: 3.291 MB / 1.348 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006377/0.4114, allocations: 3.68 MB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001826/0.4132, allocations: 0.6484 MB / 1.352 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004138/0.4173, allocations: 1.661 MB / 1.354 GB, free: 2.832 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003947/0.4213, allocations: 2.611 MB / 1.356 GB, free: 220 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005206/0.4265, allocations: 2.342 MB / 1.359 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.4403, allocations: 10.18 MB / 1.369 GB, free: 3.656 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4403, allocations: 0 / 1.369 GB, free: 3.656 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4403, allocations: 0 / 1.369 GB, free: 3.656 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003339/0.4406, allocations: 4 kB / 1.369 GB, free: 3.652 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01163/0.4522, allocations: 5.043 MB / 1.374 GB, free: 14.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4523, allocations: 8.031 kB / 1.374 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001703/0.4525, allocations: 125.5 kB / 1.374 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.4536, allocations: 0.6859 MB / 1.374 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005208/0.4588, allocations: 0.9813 MB / 1.375 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006196/0.465, allocations: 3.003 MB / 1.378 GB, free: 9.668 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.4653, allocations: 349.7 kB / 1.379 GB, free: 9.324 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009863/0.4663, allocations: 468.2 kB / 1.379 GB, free: 8.867 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/0.4813, allocations: 7.968 MB / 1.387 GB, free: 488 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.4814, allocations: 35.81 kB / 1.387 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005276/0.4819, allocations: 196 kB / 1.387 GB, free: 256 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.4823, allocations: 313 kB / 1.387 GB, free: 15.94 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.4934, allocations: 5.706 MB / 1.393 GB, free: 10.22 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03305/0.5264, allocations: 22.69 MB / 1.415 GB, free: 2.879 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.5291, allocations: 1.546 MB / 1.417 GB, free: 1.328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.5307, allocations: 1.124 MB / 1.418 GB, free: 212 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.5308, allocations: 25.3 kB / 1.418 GB, free: 184 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.5308, allocations: 43.88 kB / 1.418 GB, free: 132 kB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 3.837e-06/0.5308, allocations: 0 / 1.418 GB, free: 132 kB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01406/0.5449, allocations: 6.211 MB / 1.424 GB, free: 9.871 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.545, allocations: 64.72 kB / 1.424 GB, free: 9.797 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.5471, allocations: 1.484 MB / 1.425 GB, free: 8.266 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5472, allocations: 45.7 kB / 1.425 GB, free: 8.215 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.5487, allocations: 2.077 MB / 1.427 GB, free: 6.117 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.5492, allocations: 0.4996 MB / 1.428 GB, free: 5.613 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/0.5497, allocations: 351.3 kB / 1.428 GB, free: 5.262 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5498, allocations: 305.1 kB / 1.429 GB, free: 4.961 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.5512, allocations: 0.9135 MB / 1.429 GB, free: 4.047 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.5531, allocations: 1.593 MB / 1.431 GB, free: 2.145 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.5566, allocations: 2.733 MB / 1.434 GB, free: 15.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.5567, allocations: 11.98 kB / 1.434 GB, free: 15.08 MB / 1.139 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006332/0.563, allocations: 3.504 MB / 1.437 GB, free: 11.53 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.563, allocations: 19.94 kB / 1.437 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.5631, allocations: 24.12 kB / 1.437 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/0.5658, allocations: 0.9037 MB / 1.438 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.5669, allocations: 355.3 kB / 1.438 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.589, allocations: 21.73 MB / 1.46 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5906, allocations: 108 kB / 1.46 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.5907, allocations: 80 kB / 1.46 GB, free: 2.918 MB / 1.154 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002518/0.5932, allocations: 1.613 MB / 1.461 GB, free: 1.293 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.5936, allocations: 214.6 kB / 1.462 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/0.5989, allocations: 2.963 MB / 1.464 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.599, allocations: 19.98 kB / 1.464 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.599, allocations: 8 kB / 1.464 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.599, allocations: 3.984 kB / 1.465 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.611, allocations: 6.727 MB / 1.471 GB, free: 7.164 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.6111, allocations: 4 kB / 1.471 GB, free: 7.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.6119, allocations: 183.7 kB / 1.471 GB, free: 6.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.6144, allocations: 0.8179 MB / 1.472 GB, free: 6.125 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.6145, allocations: 24 kB / 1.472 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.6354, allocations: 20.6 MB / 1.492 GB, free: 128 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.6354, allocations: 7.938 kB / 1.492 GB, free: 120 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.6412, allocations: 3.011 MB / 1.495 GB, free: 12.99 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.6423, allocations: 394.5 kB / 1.496 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.6426, allocations: 35.92 kB / 1.496 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.6434, allocations: 63.92 kB / 1.496 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/0.6437, allocations: 132.6 kB / 1.496 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.6438, allocations: 36 kB / 1.496 GB, free: 12.34 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001391/0.6452, allocations: 0.9756 MB / 1.497 GB, free: 11.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6452, allocations: 0 / 1.497 GB, free: 11.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002829/0.6481, allocations: 0.793 MB / 1.497 GB, free: 10.55 MB / 1.201 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005661/0.6537, allocations: 3.607 MB / 1.501 GB, free: 6.82 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00598/0.6597, allocations: 3.913 MB / 1.505 GB, free: 2.754 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.6597, allocations: 0 / 1.505 GB, free: 2.754 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/0.6636, allocations: 2.678 MB / 1.507 GB, free: 15.92 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/0.6674, allocations: 0.735 MB / 1.508 GB, free: 15.21 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/0.7074, allocations: 22.5 MB / 1.53 GB, free: 7.676 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005006/0.7124, allocations: 2.569 MB / 1.533 GB, free: 5.078 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001594/0.714, allocations: 449.9 kB / 1.533 GB, free: 4.637 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/0.7164, allocations: 1.538 MB / 1.535 GB, free: 3.098 MB / 1.232 GB Notification: Performance of SimCode: time 1.954e-06/0.7164, allocations: 3.938 kB / 1.535 GB, free: 3.094 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1424/0.8588, allocations: 66.04 MB / 1.599 GB, free: 2.137 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.96, allocations: 11.23 kB / 1.599 GB, free: 2.129 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.283958924002945]