Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001346/0.001346, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001397/0.001397, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.81/2.81, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.002122/0.002122, allocations: 63.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9302/0.9323, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02849/0.9608, allocations: 31.52 MB / 1.185 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.9788, allocations: 10.3 MB / 1.195 GB, free: 6.996 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/0.9825, allocations: 193.5 kB / 1.195 GB, free: 6.906 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009872/0.9924, allocations: 3.725 MB / 1.199 GB, free: 4.809 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.9989, allocations: 1.958 MB / 1.201 GB, free: 3.605 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006217/1.005, allocations: 2.132 MB / 1.203 GB, free: 2.406 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01042/1.016, allocations: 7.331 MB / 1.21 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008717/1.024, allocations: 5.094 MB / 1.215 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006786/1.031, allocations: 3.292 MB / 1.218 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007357/1.038, allocations: 3.454 MB / 1.221 GB, free: 9.695 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001901/1.04, allocations: 0.6453 MB / 1.222 GB, free: 9.695 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005101/1.045, allocations: 1.655 MB / 1.224 GB, free: 9.312 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004431/1.05, allocations: 2.611 MB / 1.226 GB, free: 8.188 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008282/1.058, allocations: 2.337 MB / 1.228 GB, free: 6.863 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01962/1.078, allocations: 10.19 MB / 1.238 GB, free: 3.645 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.078, allocations: 4 kB / 1.238 GB, free: 3.641 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.002e-06/1.078, allocations: 0 / 1.238 GB, free: 3.641 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004368/1.078, allocations: 1.469 kB / 1.238 GB, free: 3.641 MB / 1.092 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.01666/1.095, allocations: 5.043 MB / 1.243 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.095, allocations: 10.12 kB / 1.243 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006199/1.101, allocations: 0.9896 MB / 1.244 GB, free: 272 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007596/1.109, allocations: 2.999 MB / 1.247 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/1.109, allocations: 352.9 kB / 1.248 GB, free: 14.2 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/1.111, allocations: 458.2 kB / 1.248 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02242/1.133, allocations: 7.969 MB / 1.256 GB, free: 8.875 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/1.133, allocations: 38.41 kB / 1.256 GB, free: 8.848 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007046/1.134, allocations: 204 kB / 1.256 GB, free: 8.695 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004207/1.135, allocations: 307.3 kB / 1.256 GB, free: 8.629 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/1.148, allocations: 5.71 MB / 1.262 GB, free: 5.676 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/1.187, allocations: 21.93 MB / 1.283 GB, free: 3.355 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/1.189, allocations: 1.546 MB / 1.285 GB, free: 1.801 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.191, allocations: 1.124 MB / 1.286 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/1.191, allocations: 17.31 kB / 1.286 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/1.191, allocations: 47.88 kB / 1.286 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 3.286e-06/1.191, allocations: 0 / 1.286 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of matching and sorting (n=136): time 0.0147/1.206, allocations: 6.195 MB / 1.292 GB, free: 10.36 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/1.206, allocations: 72.66 kB / 1.292 GB, free: 10.28 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/1.208, allocations: 1.399 MB / 1.293 GB, free: 8.879 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.208, allocations: 45.7 kB / 1.293 GB, free: 8.828 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/1.209, allocations: 2.065 MB / 1.295 GB, free: 6.746 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/1.21, allocations: 0.5035 MB / 1.296 GB, free: 6.238 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/1.21, allocations: 343.4 kB / 1.296 GB, free: 5.895 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.211, allocations: 305.1 kB / 1.297 GB, free: 5.594 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.212, allocations: 0.9135 MB / 1.297 GB, free: 4.68 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/1.214, allocations: 1.597 MB / 1.299 GB, free: 2.777 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/1.218, allocations: 2.733 MB / 1.302 GB, free: 15.73 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.218, allocations: 12 kB / 1.302 GB, free: 15.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006491/1.224, allocations: 3.496 MB / 1.305 GB, free: 12.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.224, allocations: 16 kB / 1.305 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/1.224, allocations: 24.12 kB / 1.305 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002739/1.227, allocations: 0.9077 MB / 1.306 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.228, allocations: 359.3 kB / 1.306 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/1.251, allocations: 21.46 MB / 1.327 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.252, allocations: 104 kB / 1.327 GB, free: 4.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/1.253, allocations: 84.08 kB / 1.328 GB, free: 3.969 MB / 1.17 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.003153/1.256, allocations: 1.611 MB / 1.329 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/1.256, allocations: 202.7 kB / 1.329 GB, free: 2.148 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005764/1.262, allocations: 2.959 MB / 1.332 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.262, allocations: 15.94 kB / 1.332 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.262, allocations: 8 kB / 1.332 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.262, allocations: 7.984 kB / 1.332 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/1.274, allocations: 6.003 MB / 1.338 GB, free: 8.969 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.274, allocations: 4 kB / 1.338 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/1.275, allocations: 183.7 kB / 1.338 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/1.277, allocations: 0.818 MB / 1.339 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.277, allocations: 32 kB / 1.339 GB, free: 7.898 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/1.299, allocations: 20.33 MB / 1.359 GB, free: 2.344 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.299, allocations: 7.984 kB / 1.359 GB, free: 2.336 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/1.304, allocations: 3.014 MB / 1.362 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.305, allocations: 378.6 kB / 1.362 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/1.306, allocations: 24 kB / 1.362 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/1.306, allocations: 75.91 kB / 1.362 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/1.307, allocations: 124.7 kB / 1.362 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/1.307, allocations: 36 kB / 1.362 GB, free: 14.58 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001283/1.308, allocations: 0.902 MB / 1.363 GB, free: 13.69 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.308, allocations: 0 / 1.363 GB, free: 13.69 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002953/1.311, allocations: 0.7891 MB / 1.364 GB, free: 12.9 MB / 1.217 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.0002307/1.311, allocations: 135.6 kB / 1.364 GB, free: 12.76 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006233/1.318, allocations: 3.921 MB / 1.368 GB, free: 8.68 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.318, allocations: 0 / 1.368 GB, free: 8.68 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/1.322, allocations: 2.67 MB / 1.371 GB, free: 5.855 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.325, allocations: 0.7249 MB / 1.371 GB, free: 5.164 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/1.339, allocations: 7.327 MB / 1.379 GB, free: 13.74 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/1.342, allocations: 2.564 MB / 1.381 GB, free: 11.14 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001445/1.344, allocations: 453.2 kB / 1.381 GB, free: 10.7 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/1.344, allocations: 108.5 kB / 1.382 GB, free: 10.59 MB / 1.232 GB Notification: Performance of SimCode: time 9.02e-07/1.344, allocations: 0 / 1.382 GB, free: 10.59 MB / 1.232 GB Notification: Performance of Templates: time 0.06754/1.411, allocations: 36.33 MB / 1.417 GB, free: 7.027 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.180753887048922]