Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001429/0.001429, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00152/0.00152, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.963/2.963, allocations: 0.49 GB / 0.7923 GB, free: 1.391 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002046/0.002046, allocations: 63.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8743/0.8764, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04002/0.9164, allocations: 38.59 MB / 1.359 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02736/0.9438, allocations: 11.18 MB / 1.37 GB, free: 7.066 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005961/0.9497, allocations: 200 kB / 1.37 GB, free: 6.977 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01345/0.9632, allocations: 4.422 MB / 1.375 GB, free: 4.348 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008899/0.9721, allocations: 2.338 MB / 1.377 GB, free: 2.879 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007438/0.9795, allocations: 2.173 MB / 1.379 GB, free: 1.648 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01698/0.9965, allocations: 9.28 MB / 1.388 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02124/1.018, allocations: 8.528 MB / 1.396 GB, free: 10 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/1.03, allocations: 4.108 MB / 1.4 GB, free: 8.133 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01322/1.043, allocations: 4.754 MB / 1.405 GB, free: 6.176 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.005302/1.048, allocations: 0.8223 MB / 1.406 GB, free: 6.176 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009141/1.057, allocations: 1.602 MB / 1.407 GB, free: 5.891 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.01054/1.068, allocations: 3.237 MB / 1.411 GB, free: 4.477 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0162/1.084, allocations: 3.662 MB / 1.414 GB, free: 2.129 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.03013/1.114, allocations: 12.34 MB / 1.426 GB, free: 10.12 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/1.114, allocations: 0 / 1.426 GB, free: 10.12 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.867e-06/1.114, allocations: 0 / 1.426 GB, free: 10.12 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0007079/1.115, allocations: 3.938 kB / 1.426 GB, free: 10.12 MB / 1.107 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.03021/1.145, allocations: 6.476 MB / 1.433 GB, free: 5.828 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/1.145, allocations: 14.14 kB / 1.433 GB, free: 5.824 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002897/1.145, allocations: 150.6 kB / 1.433 GB, free: 5.812 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004246/1.15, allocations: 0.829 MB / 1.433 GB, free: 5.227 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009/1.159, allocations: 1.101 MB / 1.435 GB, free: 4.688 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/1.169, allocations: 3.632 MB / 1.438 GB, free: 2.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/1.17, allocations: 419.8 kB / 1.439 GB, free: 1.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00283/1.173, allocations: 0.5394 MB / 1.439 GB, free: 1.141 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/1.2, allocations: 9.381 MB / 1.448 GB, free: 7.426 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002754/1.2, allocations: 23.81 kB / 1.448 GB, free: 7.402 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002631/1.203, allocations: 244 kB / 1.448 GB, free: 7.164 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008683/1.204, allocations: 418.9 kB / 1.449 GB, free: 6.754 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/1.224, allocations: 7.123 MB / 1.456 GB, free: 15.62 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05766/1.281, allocations: 41.08 MB / 1.496 GB, free: 2.805 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005284/1.287, allocations: 2.901 MB / 1.499 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003447/1.29, allocations: 1.946 MB / 1.501 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.29, allocations: 26 kB / 1.501 GB, free: 13.92 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/1.29, allocations: 60.55 kB / 1.501 GB, free: 13.85 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.238e-06/1.29, allocations: 0 / 1.501 GB, free: 13.85 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02789/1.318, allocations: 10.58 MB / 1.511 GB, free: 3.184 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.318, allocations: 77.41 kB / 1.511 GB, free: 3.094 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/1.322, allocations: 2.01 MB / 1.513 GB, free: 1.066 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005001/1.322, allocations: 65.7 kB / 1.513 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.324, allocations: 2.474 MB / 1.516 GB, free: 14.49 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.326, allocations: 0.763 MB / 1.516 GB, free: 13.72 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009607/1.327, allocations: 485.5 kB / 1.517 GB, free: 13.24 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.327, allocations: 301.1 kB / 1.517 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/1.329, allocations: 1.372 MB / 1.518 GB, free: 11.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/1.332, allocations: 2.112 MB / 1.52 GB, free: 9.145 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005765/1.338, allocations: 3.77 MB / 1.524 GB, free: 5.066 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/1.338, allocations: 8 kB / 1.524 GB, free: 5.059 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01003/1.348, allocations: 5.019 MB / 1.529 GB, free: 16 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/1.348, allocations: 17.88 kB / 1.529 GB, free: 0 / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/1.348, allocations: 20.12 kB / 1.529 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004108/1.352, allocations: 1.594 MB / 1.531 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/1.354, allocations: 455.2 kB / 1.531 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/1.38, allocations: 18.58 MB / 1.549 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.383, allocations: 143.9 kB / 1.549 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/1.383, allocations: 112 kB / 1.55 GB, free: 10.54 MB / 1.232 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.004358/1.388, allocations: 1.941 MB / 1.551 GB, free: 8.59 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008498/1.388, allocations: 302.4 kB / 1.552 GB, free: 8.293 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008534/1.397, allocations: 4.404 MB / 1.556 GB, free: 3.855 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.397, allocations: 20 kB / 1.556 GB, free: 3.836 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.01e-05/1.397, allocations: 16 kB / 1.556 GB, free: 3.82 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/1.397, allocations: 11.95 kB / 1.556 GB, free: 3.809 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.417, allocations: 9.613 MB / 1.565 GB, free: 10.04 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/1.417, allocations: 12.09 kB / 1.565 GB, free: 10.03 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.418, allocations: 231.8 kB / 1.566 GB, free: 9.805 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003888/1.422, allocations: 1.427 MB / 1.567 GB, free: 8.367 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002822/1.422, allocations: 40 kB / 1.567 GB, free: 8.328 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02574/1.448, allocations: 18.59 MB / 1.585 GB, free: 5.188 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.448, allocations: 11.97 kB / 1.585 GB, free: 5.176 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008679/1.457, allocations: 4.495 MB / 1.59 GB, free: 0.5898 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/1.459, allocations: 0.6515 MB / 1.59 GB, free: 15.91 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006976/1.459, allocations: 44 kB / 1.59 GB, free: 15.87 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.461, allocations: 111.9 kB / 1.59 GB, free: 15.76 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005676/1.461, allocations: 189.6 kB / 1.591 GB, free: 15.58 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.462, allocations: 56 kB / 1.591 GB, free: 15.52 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002186/1.464, allocations: 1.323 MB / 1.592 GB, free: 14.19 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/1.464, allocations: 3.938 kB / 1.592 GB, free: 14.19 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004164/1.468, allocations: 1.141 MB / 1.593 GB, free: 13.05 MB / 1.279 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.008605/1.477, allocations: 5.114 MB / 1.598 GB, free: 7.836 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00864/1.485, allocations: 4.535 MB / 1.602 GB, free: 3.254 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.485, allocations: 4 kB / 1.602 GB, free: 3.25 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00552/1.491, allocations: 2.809 MB / 1.605 GB, free: 408 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/1.496, allocations: 0.8911 MB / 1.606 GB, free: 15.52 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05838/1.554, allocations: 30.44 MB / 1.636 GB, free: 15.88 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006113/1.561, allocations: 3.694 MB / 1.639 GB, free: 12.15 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002047/1.563, allocations: 0.5556 MB / 1.64 GB, free: 11.59 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00293/1.566, allocations: 1.948 MB / 1.642 GB, free: 9.641 MB / 1.326 GB Notification: Performance of SimCode: time 1.342e-06/1.566, allocations: 0 / 1.642 GB, free: 9.641 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1619/1.727, allocations: 85.94 MB / 1.726 GB, free: 4.68 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/17.29, allocations: 7.969 kB / 1.726 GB, free: 4.672 MB / 1.404 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 24.819802482030354]