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.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.001236/0.001236, allocations: 97.31 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.001498/0.001498, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.725/2.725, allocations: 476.8 MB / 0.7715 GB, free: 3.809 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_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",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="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.001984/0.001984, allocations: 67.64 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 170 MB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04872/0.3845, allocations: 36.39 MB / 1.32 GB, free: 6.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.4056, allocations: 11.09 MB / 1.33 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.4091, allocations: 198.6 kB / 1.331 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.4211, allocations: 4.365 MB / 1.335 GB, free: 6.328 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007028/0.4282, allocations: 2.336 MB / 1.337 GB, free: 3.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006534/0.4347, allocations: 2.175 MB / 1.339 GB, free: 1.809 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01263/0.4473, allocations: 9.277 MB / 1.348 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.4592, allocations: 6.392 MB / 1.355 GB, free: 1.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006814/0.4661, allocations: 4.133 MB / 1.359 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008483/0.4745, allocations: 4.747 MB / 1.363 GB, free: 9.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003195/0.4777, allocations: 0.8242 MB / 1.364 GB, free: 8.266 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.4825, allocations: 1.506 MB / 1.366 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005798/0.4883, allocations: 3.235 MB / 1.369 GB, free: 3.516 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007056/0.4954, allocations: 2.973 MB / 1.372 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.5115, allocations: 12.4 MB / 1.384 GB, free: 4.094 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.5115, allocations: 8 kB / 1.384 GB, free: 4.086 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5115, allocations: 0 / 1.384 GB, free: 4.086 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003495/0.5119, allocations: 7.938 kB / 1.384 GB, free: 4.078 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.01726/0.5291, allocations: 6.391 MB / 1.39 GB, free: 13.62 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5292, allocations: 12.03 kB / 1.39 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002216/0.5294, allocations: 159.6 kB / 1.39 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002795/0.5322, allocations: 0.8216 MB / 1.391 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/0.5385, allocations: 1.094 MB / 1.392 GB, free: 11.53 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008347/0.5468, allocations: 3.568 MB / 1.396 GB, free: 7.898 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/0.5472, allocations: 427.7 kB / 1.396 GB, free: 7.48 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001948/0.5492, allocations: 0.5471 MB / 1.396 GB, free: 6.934 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.5699, allocations: 10.3 MB / 1.407 GB, free: 12.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.57, allocations: 19.83 kB / 1.407 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.5712, allocations: 248 kB / 1.407 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006549/0.5718, allocations: 422.9 kB / 1.407 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.5869, allocations: 7.127 MB / 1.414 GB, free: 4.27 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04069/0.6276, allocations: 26.26 MB / 1.44 GB, free: 9.363 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.6324, allocations: 2.895 MB / 1.443 GB, free: 6.465 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.6357, allocations: 1.934 MB / 1.445 GB, free: 4.527 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.6358, allocations: 22 kB / 1.445 GB, free: 4.504 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.6359, allocations: 64.56 kB / 1.445 GB, free: 4.434 MB / 1.139 GB Notification: Performance of pre-optimization done (n=209): time 5.511e-06/0.6359, allocations: 0 / 1.445 GB, free: 4.434 MB / 1.139 GB Notification: Performance of matching and sorting (n=212): time 0.02465/0.6605, allocations: 10.28 MB / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.6606, allocations: 73.41 kB / 1.455 GB, free: 10.05 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.6634, allocations: 1.998 MB / 1.457 GB, free: 8.035 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.6637, allocations: 65.7 kB / 1.457 GB, free: 7.965 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001892/0.6655, allocations: 2.486 MB / 1.459 GB, free: 5.453 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009185/0.6665, allocations: 0.763 MB / 1.46 GB, free: 4.684 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000846/0.6673, allocations: 481.5 kB / 1.46 GB, free: 4.207 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6675, allocations: 309.1 kB / 1.461 GB, free: 3.902 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.6696, allocations: 1.372 MB / 1.462 GB, free: 2.527 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.6723, allocations: 2.112 MB / 1.464 GB, free: 104 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005603/0.6779, allocations: 3.77 MB / 1.468 GB, free: 12.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.678, allocations: 4 kB / 1.468 GB, free: 12.01 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009128/0.6871, allocations: 5.027 MB / 1.473 GB, free: 6.961 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.6871, allocations: 12 kB / 1.473 GB, free: 6.949 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.6871, allocations: 24 kB / 1.473 GB, free: 6.926 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003715/0.6909, allocations: 1.586 MB / 1.474 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.6926, allocations: 451.2 kB / 1.475 GB, free: 4.891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/0.7177, allocations: 17.92 MB / 1.492 GB, free: 2.523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.72, allocations: 143.9 kB / 1.492 GB, free: 2.383 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.7203, allocations: 108.2 kB / 1.492 GB, free: 2.277 MB / 1.186 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.003456/0.7238, allocations: 1.937 MB / 1.494 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00071/0.7245, allocations: 302.2 kB / 1.495 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00776/0.7322, allocations: 4.411 MB / 1.499 GB, free: 11.59 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.7323, allocations: 20 kB / 1.499 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.893e-05/0.7323, allocations: 20 kB / 1.499 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.7323, allocations: 11.91 kB / 1.499 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.7486, allocations: 9.161 MB / 1.508 GB, free: 2.238 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.7486, allocations: 4 kB / 1.508 GB, free: 2.234 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.7496, allocations: 235.6 kB / 1.508 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/0.753, allocations: 1.428 MB / 1.509 GB, free: 0.5664 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/0.7532, allocations: 43.98 kB / 1.51 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/0.7772, allocations: 17.92 MB / 1.527 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/0.7772, allocations: 7.938 kB / 1.527 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007704/0.7849, allocations: 4.507 MB / 1.531 GB, free: 9.547 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/0.7865, allocations: 0.5722 MB / 1.532 GB, free: 8.973 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005469/0.787, allocations: 44 kB / 1.532 GB, free: 8.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.7884, allocations: 115.9 kB / 1.532 GB, free: 8.816 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005599/0.789, allocations: 193.5 kB / 1.532 GB, free: 8.629 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.7891, allocations: 60 kB / 1.532 GB, free: 8.57 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002051/0.7912, allocations: 1.311 MB / 1.534 GB, free: 7.25 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7912, allocations: 0 / 1.534 GB, free: 7.25 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003585/0.7948, allocations: 1.141 MB / 1.535 GB, free: 6.109 MB / 1.232 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.008426/0.8032, allocations: 5.129 MB / 1.54 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008298/0.8115, allocations: 4.543 MB / 1.544 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.8115, allocations: 4 kB / 1.544 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/0.8168, allocations: 2.801 MB / 1.547 GB, free: 9.434 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.8208, allocations: 0.8889 MB / 1.548 GB, free: 8.559 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0611/0.8819, allocations: 30.57 MB / 1.578 GB, free: 8.781 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005572/0.8875, allocations: 3.155 MB / 1.581 GB, free: 5.586 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002009/0.8895, allocations: 0.5556 MB / 1.581 GB, free: 5.023 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002792/0.8923, allocations: 1.948 MB / 1.583 GB, free: 3.074 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/0.8923, allocations: 0 / 1.583 GB, free: 3.074 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7448/1.637, allocations: 91.06 MB / 1.672 GB, free: 249.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18.93, allocations: 10.84 kB / 1.672 GB, free: 249.7 MB / 1.295 GB " [Timeout remaining time 281] (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/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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 26.679810476955026]