Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001357/0.001357, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001451/0.001451, allocations: 175.1 kB / 22.46 MB, free: 5.355 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.857/2.857, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.262e-05, allocations: 5.656 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01339/0.01342, allocations: 9.474 MB / 0.9907 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006609/0.02003, allocations: 3.142 MB / 0.9938 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.0211, allocations: 51.69 kB / 0.9938 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.02303, allocations: 0.5993 MB / 0.9944 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.02503, allocations: 0.7926 MB / 0.9952 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.0268, allocations: 0.7546 MB / 0.9959 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00436/0.03116, allocations: 3.046 MB / 0.9989 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.0338, allocations: 1.423 MB / 1 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00311/0.03691, allocations: 1.731 MB / 1.002 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.03953, allocations: 1.574 MB / 1.004 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004182/0.03995, allocations: 236 kB / 1.004 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.04101, allocations: 487.2 kB / 1.004 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.04227, allocations: 1.15 MB / 1.005 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.04339, allocations: 0.7875 MB / 1.006 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.04756, allocations: 3.791 MB / 1.01 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.04756, allocations: 0 / 1.01 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.04757, allocations: 0 / 1.01 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.402e-05/0.04761, allocations: 0 / 1.01 GB, free: 14.79 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004393/0.052, allocations: 2.099 MB / 1.012 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.05204, allocations: 12.03 kB / 1.012 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009779/0.06182, allocations: 1.353 MB / 1.013 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.06481, allocations: 1.265 MB / 1.014 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.06491, allocations: 111.4 kB / 1.015 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.06531, allocations: 152.3 kB / 1.015 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/0.07125, allocations: 3.516 MB / 1.018 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.0713, allocations: 12.14 kB / 1.018 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.07153, allocations: 68.28 kB / 1.018 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002859/0.07182, allocations: 207.1 kB / 1.018 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005325/0.07714, allocations: 3.116 MB / 1.021 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.09385, allocations: 9.814 MB / 1.031 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.0965, allocations: 1.615 MB / 1.033 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.09857, allocations: 1.335 MB / 1.034 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.447e-05/0.09866, allocations: 13 kB / 1.034 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.0987, allocations: 43.56 kB / 1.034 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.0987, allocations: 3.938 kB / 1.034 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1634/0.2621, allocations: 36.18 MB / 1.069 GB, free: 1.438 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.2622, allocations: 73.41 kB / 1.069 GB, free: 1.352 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.2637, allocations: 1.04 MB / 1.07 GB, free: 312 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/0.264, allocations: 57.7 kB / 1.07 GB, free: 248 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/0.2646, allocations: 0.8053 MB / 1.071 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/0.2653, allocations: 0.6312 MB / 1.072 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008194/0.2661, allocations: 363.5 kB / 1.072 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2662, allocations: 309.1 kB / 1.072 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/0.2692, allocations: 1.932 MB / 1.074 GB, free: 12.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/0.2724, allocations: 2.285 MB / 1.077 GB, free: 9.785 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006391/0.2788, allocations: 4.387 MB / 1.081 GB, free: 5.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2788, allocations: 3.938 kB / 1.081 GB, free: 5.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02237/0.3012, allocations: 8.874 MB / 1.09 GB, free: 12.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.3012, allocations: 8 kB / 1.09 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.3013, allocations: 12 kB / 1.09 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01863/0.3199, allocations: 4.966 MB / 1.094 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/0.3209, allocations: 195.6 kB / 1.095 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06322/0.3841, allocations: 37.82 MB / 1.132 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.3862, allocations: 99.89 kB / 1.132 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.3865, allocations: 64 kB / 1.132 GB, free: 0.7656 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.4914/0.8779, allocations: 0.8013 MB / 1.132 GB, free: 180.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/0.8785, allocations: 143.3 kB / 1.133 GB, free: 180.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02797/0.9065, allocations: 8.731 MB / 1.141 GB, free: 179.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.9065, allocations: 20.53 kB / 1.141 GB, free: 179.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-05/0.9066, allocations: 32.25 kB / 1.141 GB, free: 179.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.375e-05/0.9067, allocations: 12.72 kB / 1.141 GB, free: 179.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03301/0.9397, allocations: 12.39 MB / 1.153 GB, free: 175.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.9397, allocations: 2.812 kB / 1.153 GB, free: 175.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.9402, allocations: 122 kB / 1.153 GB, free: 175.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01805/0.9582, allocations: 4.821 MB / 1.158 GB, free: 175.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/0.9587, allocations: 37.75 kB / 1.158 GB, free: 175 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06156/1.02, allocations: 35.77 MB / 1.193 GB, free: 158.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.02, allocations: 8.906 kB / 1.193 GB, free: 158.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/1.044, allocations: 8.443 MB / 1.201 GB, free: 156.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.045, allocations: 0.5746 MB / 1.202 GB, free: 156.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/1.046, allocations: 37.53 kB / 1.202 GB, free: 156.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.047, allocations: 93.72 kB / 1.202 GB, free: 156 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/1.049, allocations: 167.3 kB / 1.202 GB, free: 156 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.049, allocations: 45.81 kB / 1.202 GB, free: 156 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001111/1.05, allocations: 0.7223 MB / 1.203 GB, free: 155.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.05, allocations: 2.188 kB / 1.203 GB, free: 155.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003808/1.054, allocations: 1.007 MB / 1.204 GB, free: 155.6 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003765/1.054, allocations: 140.5 kB / 1.204 GB, free: 155.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00993/1.064, allocations: 5.735 MB / 1.21 GB, free: 153.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.064, allocations: 3.781 kB / 1.21 GB, free: 153.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007605/1.072, allocations: 3.77 MB / 1.213 GB, free: 151.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.073, allocations: 238.6 kB / 1.214 GB, free: 151.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/1.081, allocations: 5.167 MB / 1.219 GB, free: 148.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.083, allocations: 1.273 MB / 1.22 GB, free: 147.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000732/1.083, allocations: 351 kB / 1.22 GB, free: 147.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/1.084, allocations: 64.48 kB / 1.22 GB, free: 147.3 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/1.084, allocations: 0 / 1.22 GB, free: 147.3 MB / 1.076 GB Notification: Performance of Templates: time 0.07054/1.154, allocations: 63.91 MB / 1.283 GB, free: 83.33 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 10.014486782252789]