Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.0008784/0.0008784, 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.0008264/0.0008264, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.841/0.841, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.66/1.66, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.984e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02669/0.02671, allocations: 38.35 MB / 1.018 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.04361, allocations: 15.05 MB / 1.033 GB, free: 13 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.0464, allocations: 250.1 kB / 1.033 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.005237/0.05164, allocations: 4.503 MB / 1.038 GB, free: 8.234 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.05741, allocations: 3.013 MB / 1.041 GB, free: 5.203 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.06255, allocations: 3.221 MB / 1.044 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.426/0.4885, allocations: 11.66 MB / 1.055 GB, free: 52.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006036/0.4946, allocations: 6.745 MB / 1.062 GB, free: 51.42 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.5002, allocations: 6.881 MB / 1.069 GB, free: 50.92 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.5039, allocations: 5.09 MB / 1.074 GB, free: 50.56 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.5049, allocations: 0.9469 MB / 1.074 GB, free: 50.56 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.5074, allocations: 1.928 MB / 1.076 GB, free: 50.49 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.5096, allocations: 3.957 MB / 1.08 GB, free: 48.87 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004005/0.5137, allocations: 3.03 MB / 1.083 GB, free: 47.56 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.5285, allocations: 14.55 MB / 1.097 GB, free: 43.55 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5285, allocations: 0 / 1.097 GB, free: 43.55 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5285, allocations: 5.062 kB / 1.097 GB, free: 43.55 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004159/0.5289, allocations: 0.9688 kB / 1.097 GB, free: 43.55 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01423/0.5432, allocations: 7.634 MB / 1.105 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5432, allocations: 9.688 kB / 1.105 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001074/0.5443, allocations: 0.8978 MB / 1.106 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005341/0.5496, allocations: 1.563 MB / 1.107 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/0.5553, allocations: 4.389 MB / 1.112 GB, free: 36.71 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.5555, allocations: 457 kB / 1.112 GB, free: 36.51 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007632/0.5563, allocations: 0.5933 MB / 1.113 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.5683, allocations: 11.59 MB / 1.124 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.5684, allocations: 29.39 kB / 1.124 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005493/0.5689, allocations: 264.1 kB / 1.124 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001468/0.5704, allocations: 0.7804 MB / 1.125 GB, free: 30.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009242/0.5796, allocations: 8.536 MB / 1.133 GB, free: 27.65 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.6057, allocations: 31.42 MB / 1.164 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.6086, allocations: 3.981 MB / 1.168 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.6113, allocations: 3.359 MB / 1.171 GB, free: 3.215 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.6115, allocations: 36.25 kB / 1.171 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.6115, allocations: 78.25 kB / 1.171 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=353): time 5.08e-06/0.6115, allocations: 0 / 1.171 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of matching and sorting (n=578): time 0.2605/0.872, allocations: 121.1 MB / 1.289 GB, free: 11.68 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.8721, allocations: 111.9 kB / 1.29 GB, free: 11.56 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.8753, allocations: 2.72 MB / 1.292 GB, free: 8.84 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/0.8764, allocations: 125.7 kB / 1.292 GB, free: 8.711 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.8779, allocations: 2.742 MB / 1.295 GB, free: 5.957 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.00238/0.8803, allocations: 2.025 MB / 1.297 GB, free: 3.961 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/0.8819, allocations: 0.9184 MB / 1.298 GB, free: 3.035 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.882, allocations: 309.1 kB / 1.298 GB, free: 2.73 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004866/0.8869, allocations: 4.079 MB / 1.302 GB, free: 14.64 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005889/0.8928, allocations: 5.015 MB / 1.307 GB, free: 9.316 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/0.9045, allocations: 9.852 MB / 1.317 GB, free: 15.18 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-05/0.9045, allocations: 8 kB / 1.317 GB, free: 15.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02783/0.9323, allocations: 16.74 MB / 1.333 GB, free: 14.68 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.9324, allocations: 16 kB / 1.333 GB, free: 14.67 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.9324, allocations: 20 kB / 1.333 GB, free: 14.65 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/0.9502, allocations: 9.071 MB / 1.342 GB, free: 5.547 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.9519, allocations: 0.5255 MB / 1.342 GB, free: 5.055 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07445/1.026, allocations: 74.63 MB / 1.415 GB, free: 9.316 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.03, allocations: 281.8 kB / 1.416 GB, free: 9.043 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.032, allocations: 192 kB / 1.416 GB, free: 8.855 MB / 1.245 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004524/1.036, allocations: 2.429 MB / 1.418 GB, free: 6.449 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.037, allocations: 496.9 kB / 1.419 GB, free: 5.961 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02413/1.061, allocations: 16.54 MB / 1.435 GB, free: 5.527 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/1.061, allocations: 56 kB / 1.435 GB, free: 5.473 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001865/1.061, allocations: 77.62 kB / 1.435 GB, free: 5.398 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.753e-05/1.062, allocations: 27.89 kB / 1.435 GB, free: 5.371 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03943/1.101, allocations: 24 MB / 1.458 GB, free: 13.45 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6e-05/1.101, allocations: 8.938 kB / 1.458 GB, free: 13.44 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.103, allocations: 317.7 kB / 1.459 GB, free: 13.14 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01717/1.12, allocations: 8.26 MB / 1.467 GB, free: 4.848 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001157/1.121, allocations: 108 kB / 1.467 GB, free: 4.742 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06864/1.189, allocations: 71.49 MB / 1.537 GB, free: 12.12 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/1.189, allocations: 15.5 kB / 1.537 GB, free: 12.11 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03175/1.221, allocations: 21.3 MB / 1.557 GB, free: 6.711 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003933/1.225, allocations: 1.317 MB / 1.559 GB, free: 5.395 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/1.227, allocations: 107.9 kB / 1.559 GB, free: 5.289 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/1.23, allocations: 291.6 kB / 1.559 GB, free: 5.004 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002296/1.233, allocations: 0.5527 MB / 1.56 GB, free: 4.457 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006603/1.233, allocations: 147.9 kB / 1.56 GB, free: 4.312 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.002682/1.236, allocations: 1.772 MB / 1.562 GB, free: 2.551 MB / 1.385 GB Notification: Performance of sort global known variables: time 2.1e-07/1.236, allocations: 4 kB / 1.562 GB, free: 2.547 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.009352/1.245, allocations: 2.461 MB / 1.564 GB, free: 88 kB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4662/1.712, allocations: 21.98 MB / 1.585 GB, free: 455.7 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.01906/1.731, allocations: 13.71 MB / 1.599 GB, free: 450.9 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.731, allocations: 2.781 kB / 1.599 GB, free: 450.9 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.01334/1.744, allocations: 9.017 MB / 1.608 GB, free: 446.5 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006885/1.751, allocations: 1.379 MB / 1.609 GB, free: 446 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1179/1.869, allocations: 70.01 MB / 1.677 GB, free: 415.7 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00787/1.877, allocations: 4.392 MB / 1.682 GB, free: 412.5 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.002615/1.879, allocations: 0.7398 MB / 1.682 GB, free: 411.9 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003248/1.883, allocations: 2.613 MB / 1.685 GB, free: 409.5 MB / 1.385 GB Notification: Performance of SimCode: time 1.493e-06/1.883, allocations: 0 / 1.685 GB, free: 409.5 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1995/2.082, allocations: 208.9 MB / 1.889 GB, free: 203.9 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/14.53, allocations: 14.84 kB / 1.889 GB, free: 203.9 MB / 1.385 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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: 19.068010010756552]