Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001843/0.001843, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002164/0.002164, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.768/2.768, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.238e-05, allocations: 6.094 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02054/0.02057, allocations: 13.1 MB / 0.7992 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.03802, allocations: 9.007 MB / 0.808 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.03964, allocations: 87.25 kB / 0.808 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.04496, allocations: 1.671 MB / 0.8097 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.0504, allocations: 1.614 MB / 0.8113 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.05291, allocations: 0.7753 MB / 0.812 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004938/0.05785, allocations: 2.604 MB / 0.8146 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.06043, allocations: 1.18 MB / 0.8157 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.06408, allocations: 1.578 MB / 0.8173 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.06639, allocations: 0.9505 MB / 0.8182 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005893/0.06698, allocations: 160 kB / 0.8183 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.06916, allocations: 0.7482 MB / 0.8191 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.07058, allocations: 0.6465 MB / 0.8197 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.07238, allocations: 0.6429 MB / 0.8203 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005164/0.07754, allocations: 2.788 MB / 0.823 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.07755, allocations: 0 / 0.823 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/0.07755, allocations: 0 / 0.823 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001078/0.07766, allocations: 0 / 0.823 GB, free: 6.07 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005619/0.08328, allocations: 2.085 MB / 0.8251 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.08333, allocations: 16.03 kB / 0.8251 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.09604, allocations: 2.312 MB / 0.8274 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.09902, allocations: 1.25 MB / 0.8286 GB, free: 320 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.953e-05/0.09912, allocations: 90.73 kB / 0.8287 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.09942, allocations: 124.3 kB / 0.8288 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006926/0.1063, allocations: 2.898 MB / 0.8316 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.1064, allocations: 11.88 kB / 0.8316 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/0.1066, allocations: 59.97 kB / 0.8317 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007353/0.1073, allocations: 182.1 kB / 0.8319 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008699/0.116, allocations: 2.803 MB / 0.8346 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.1331, allocations: 8.249 MB / 0.8426 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007399/0.1405, allocations: 2.233 MB / 0.8448 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/0.144, allocations: 1.217 MB / 0.846 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/0.1441, allocations: 17 kB / 0.846 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.1441, allocations: 47.5 kB / 0.8461 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=89): time 3.055e-06/0.1441, allocations: 0 / 0.8461 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=131): time 0.05203/0.1962, allocations: 12.91 MB / 0.8587 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.1962, allocations: 64.72 kB / 0.8587 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.1979, allocations: 0.9874 MB / 0.8597 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.1981, allocations: 45.7 kB / 0.8598 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.1988, allocations: 0.7316 MB / 0.8605 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.1994, allocations: 464 kB / 0.8609 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006095/0.2, allocations: 263.5 kB / 0.8612 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003427/0.2004, allocations: 361.9 kB / 0.8615 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.2041, allocations: 1.354 MB / 0.8628 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00406/0.2081, allocations: 1.624 MB / 0.8644 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007887/0.216, allocations: 3.022 MB / 0.8674 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.216, allocations: 4 kB / 0.8674 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01403/0.2301, allocations: 4.552 MB / 0.8718 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.2301, allocations: 8 kB / 0.8718 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.2301, allocations: 8 kB / 0.8718 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/0.2392, allocations: 1.849 MB / 0.8736 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.2414, allocations: 443.2 kB / 0.8741 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03492/0.2763, allocations: 25.24 MB / 0.8987 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.279, allocations: 311.5 kB / 0.899 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.2793, allocations: 59.97 kB / 0.8991 GB, free: 6.008 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000982/0.2803, allocations: 433.5 kB / 0.8995 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005553/0.2808, allocations: 203 kB / 0.8997 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.2948, allocations: 4.51 MB / 0.9041 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.2949, allocations: 16 kB / 0.9041 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.185e-05/0.2949, allocations: 16 kB / 0.9041 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.2949, allocations: 7.922 kB / 0.9041 GB, free: 0.7734 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/0.313, allocations: 6.278 MB / 0.9102 GB, free: 10.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.313, allocations: 4 kB / 0.9102 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.315, allocations: 387.6 kB / 0.9106 GB, free: 10 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008538/0.3235, allocations: 1.736 MB / 0.9123 GB, free: 8.227 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.3237, allocations: 43.91 kB / 0.9124 GB, free: 8.184 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03245/0.3562, allocations: 24.09 MB / 0.9359 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.3562, allocations: 7.938 kB / 0.9359 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.3697, allocations: 4.315 MB / 0.9401 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.3709, allocations: 374.8 kB / 0.9405 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/0.3713, allocations: 35.98 kB / 0.9405 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/0.3736, allocations: 307.5 kB / 0.9408 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/0.3741, allocations: 132.6 kB / 0.9409 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/0.3743, allocations: 52.14 kB / 0.941 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001145/0.3754, allocations: 0.6467 MB / 0.9416 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.3754, allocations: 0 / 0.9416 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002334/0.3777, allocations: 0.5859 MB / 0.9422 GB, free: 8.215 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003633/0.3781, allocations: 139.7 kB / 0.9423 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01294/0.391, allocations: 5.01 MB / 0.9472 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.391, allocations: 0 / 0.9472 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008343/0.3994, allocations: 3.462 MB / 0.9506 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.4021, allocations: 0.5282 MB / 0.9511 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4124, allocations: 4.061 MB / 0.9551 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.4138, allocations: 0.8907 MB / 0.9559 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001631/0.4154, allocations: 416.3 kB / 0.9563 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.4159, allocations: 100.4 kB / 0.9564 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of SimCode: time 1.073e-06/0.4159, allocations: 0 / 0.9564 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.07427/0.4901, allocations: 41.32 MB / 0.9968 GB, free: 0.5742 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 9.366526882047765]