Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002249/0.002249, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002579/0.002579, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.562/1.562, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.038/3.038, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.002113/0.002113, allocations: 75.89 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9457/0.9478, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03751/0.9853, allocations: 33.86 MB / 1.373 GB, free: 9.289 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02802/1.013, allocations: 14.99 MB / 1.388 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/1.019, allocations: 204.4 kB / 1.388 GB, free: 14.82 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01191/1.031, allocations: 3.725 MB / 1.392 GB, free: 12.6 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01256/1.044, allocations: 2.984 MB / 1.395 GB, free: 10.76 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008802/1.053, allocations: 2.332 MB / 1.397 GB, free: 9.469 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01706/1.07, allocations: 8.812 MB / 1.405 GB, free: 5.512 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01727/1.087, allocations: 7.231 MB / 1.413 GB, free: 2.523 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/1.097, allocations: 4.067 MB / 1.417 GB, free: 496 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008825/1.106, allocations: 4.268 MB / 1.421 GB, free: 13.81 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003584/1.11, allocations: 0.7167 MB / 1.421 GB, free: 13.81 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007356/1.117, allocations: 1.747 MB / 1.423 GB, free: 13.25 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005933/1.123, allocations: 2.891 MB / 1.426 GB, free: 11.34 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/1.134, allocations: 3.392 MB / 1.429 GB, free: 8.992 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02268/1.156, allocations: 11.22 MB / 1.44 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.156, allocations: 0 / 1.44 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.094e-06/1.156, allocations: 0 / 1.44 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004119/1.157, allocations: 4 kB / 1.44 GB, free: 0.8789 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02078/1.178, allocations: 6.135 MB / 1.446 GB, free: 11.72 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.178, allocations: 8.031 kB / 1.446 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001823/1.178, allocations: 134.2 kB / 1.446 GB, free: 11.58 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002948/1.181, allocations: 0.7271 MB / 1.447 GB, free: 10.84 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008371/1.189, allocations: 1.164 MB / 1.448 GB, free: 9.676 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/1.199, allocations: 3.538 MB / 1.452 GB, free: 6.062 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/1.2, allocations: 382.2 kB / 1.452 GB, free: 5.688 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/1.202, allocations: 495.9 kB / 1.452 GB, free: 5.203 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/1.221, allocations: 8.001 MB / 1.46 GB, free: 12.93 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/1.221, allocations: 19.89 kB / 1.46 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/1.222, allocations: 220 kB / 1.46 GB, free: 12.69 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/1.224, allocations: 441.6 kB / 1.461 GB, free: 12.26 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/1.238, allocations: 6.081 MB / 1.467 GB, free: 6.164 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05124/1.289, allocations: 34.96 MB / 1.501 GB, free: 40 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/1.292, allocations: 1.924 MB / 1.503 GB, free: 14.11 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/1.295, allocations: 1.752 MB / 1.505 GB, free: 12.36 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.295, allocations: 25.92 kB / 1.505 GB, free: 12.33 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.914e-05/1.295, allocations: 60.5 kB / 1.505 GB, free: 12.26 MB / 1.186 GB Notification: Performance of pre-optimization done (n=171): time 3.667e-06/1.295, allocations: 0 / 1.505 GB, free: 12.26 MB / 1.186 GB Notification: Performance of matching and sorting (n=276): time 0.1606/1.456, allocations: 38.85 MB / 1.543 GB, free: 5.324 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/1.456, allocations: 81.58 kB / 1.543 GB, free: 5.23 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/1.46, allocations: 2.274 MB / 1.545 GB, free: 2.941 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005526/1.46, allocations: 73.7 kB / 1.545 GB, free: 2.863 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/1.462, allocations: 2.342 MB / 1.547 GB, free: 0.5 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.464, allocations: 0.9917 MB / 1.548 GB, free: 15.5 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.465, allocations: 0.5063 MB / 1.549 GB, free: 14.98 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.465, allocations: 308.8 kB / 1.549 GB, free: 14.68 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/1.468, allocations: 1.97 MB / 1.551 GB, free: 12.71 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/1.472, allocations: 2.599 MB / 1.553 GB, free: 9.863 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007421/1.479, allocations: 4.933 MB / 1.558 GB, free: 4.656 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.479, allocations: 4 kB / 1.558 GB, free: 4.652 MB / 1.232 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01618/1.496, allocations: 7.65 MB / 1.566 GB, free: 12.93 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/1.496, allocations: 14.03 kB / 1.566 GB, free: 12.92 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/1.496, allocations: 16 kB / 1.566 GB, free: 12.9 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.506, allocations: 3.21 MB / 1.569 GB, free: 9.676 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/1.508, allocations: 407.3 kB / 1.569 GB, free: 9.277 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05015/1.558, allocations: 33.91 MB / 1.602 GB, free: 6.527 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/1.561, allocations: 163.8 kB / 1.603 GB, free: 6.367 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/1.562, allocations: 112 kB / 1.603 GB, free: 6.258 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003541/1.565, allocations: 1.797 MB / 1.604 GB, free: 4.449 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008183/1.566, allocations: 349.8 kB / 1.605 GB, free: 4.105 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.581, allocations: 7.232 MB / 1.612 GB, free: 12.79 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.581, allocations: 28 kB / 1.612 GB, free: 12.77 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.147e-05/1.582, allocations: 35.94 kB / 1.612 GB, free: 12.73 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/1.582, allocations: 11.95 kB / 1.612 GB, free: 12.72 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/1.608, allocations: 12.81 MB / 1.624 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/1.608, allocations: 8.156 kB / 1.624 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.609, allocations: 235.6 kB / 1.625 GB, free: 15.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009104/1.618, allocations: 2.859 MB / 1.627 GB, free: 12.62 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003934/1.618, allocations: 52 kB / 1.628 GB, free: 12.57 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04783/1.666, allocations: 32.68 MB / 1.659 GB, free: 11.03 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.666, allocations: 12 kB / 1.659 GB, free: 11.02 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.68, allocations: 6.779 MB / 1.666 GB, free: 4.023 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/1.682, allocations: 0.7917 MB / 1.667 GB, free: 3.211 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007478/1.683, allocations: 51.98 kB / 1.667 GB, free: 3.16 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.685, allocations: 175.7 kB / 1.667 GB, free: 2.988 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009898/1.686, allocations: 257.2 kB / 1.667 GB, free: 2.738 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.686, allocations: 80.75 kB / 1.667 GB, free: 2.66 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.002485/1.689, allocations: 1.525 MB / 1.669 GB, free: 1.133 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.9e-07/1.689, allocations: 0 / 1.669 GB, free: 1.133 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004844/1.694, allocations: 1.367 MB / 1.67 GB, free: 15.76 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01383/1.707, allocations: 7.412 MB / 1.677 GB, free: 8.129 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.72, allocations: 6.563 MB / 1.684 GB, free: 1.473 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.72, allocations: 4.188 kB / 1.684 GB, free: 1.469 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.00862/1.729, allocations: 4.256 MB / 1.688 GB, free: 13.13 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/1.735, allocations: 1.118 MB / 1.689 GB, free: 12.05 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.074/1.809, allocations: 38.95 MB / 1.727 GB, free: 3.984 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005912/1.814, allocations: 3.643 MB / 1.731 GB, free: 316 kB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.002245/1.817, allocations: 0.5595 MB / 1.731 GB, free: 15.75 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/1.82, allocations: 1.972 MB / 1.733 GB, free: 13.77 MB / 1.42 GB Notification: Performance of SimCode: time 1.222e-06/1.82, allocations: 0 / 1.733 GB, free: 13.77 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2012/2.021, allocations: 112.4 MB / 1.843 GB, free: 14.48 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.17/19.19, allocations: 3.938 kB / 1.843 GB, free: 14.48 MB / 1.529 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 27.3166571049951]