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.001845/0.001845, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00219/0.00219, allocations: 210.1 kB / 22.99 MB, free: 4.984 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 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.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: 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.002058/0.002058, allocations: 72.55 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3117, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01308/0.3248, allocations: 9.638 MB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005673/0.3305, allocations: 3.158 MB / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.3309, allocations: 43.69 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.3326, allocations: 0.6015 MB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.3341, allocations: 0.7817 MB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.3356, allocations: 0.7408 MB / 1.342 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00307/0.3386, allocations: 2.992 MB / 1.345 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.3406, allocations: 1.431 MB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.3426, allocations: 1.285 MB / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.3451, allocations: 1.702 MB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.3455, allocations: 236 kB / 1.349 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.3465, allocations: 483.4 kB / 1.35 GB, free: 9.781 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.3476, allocations: 1.095 MB / 1.351 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.3489, allocations: 0.9182 MB / 1.352 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.3529, allocations: 3.715 MB / 1.355 GB, free: 4.035 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3529, allocations: 3.938 kB / 1.355 GB, free: 4.031 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3529, allocations: 4 kB / 1.355 GB, free: 4.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.92e-05/0.353, allocations: 0 / 1.355 GB, free: 4.027 MB / 1.045 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.004366/0.3574, allocations: 2.119 MB / 1.357 GB, free: 1.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3574, allocations: 12.03 kB / 1.357 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008924/0.3663, allocations: 1.326 MB / 1.359 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.3695, allocations: 1.266 MB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3696, allocations: 111.3 kB / 1.36 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.37, allocations: 148.3 kB / 1.36 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.3756, allocations: 3.516 MB / 1.364 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.3757, allocations: 7.922 kB / 1.364 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.3759, allocations: 71.95 kB / 1.364 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002789/0.3762, allocations: 207.1 kB / 1.364 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/0.3811, allocations: 3.116 MB / 1.367 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/0.398, allocations: 9.825 MB / 1.376 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.4005, allocations: 1.615 MB / 1.378 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.4025, allocations: 1.323 MB / 1.379 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/0.4026, allocations: 16.98 kB / 1.379 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.4027, allocations: 47.5 kB / 1.379 GB, free: 10.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.4027, allocations: 3.938 kB / 1.379 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1433/0.546, allocations: 36.18 MB / 1.415 GB, free: 6.676 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.546, allocations: 69.41 kB / 1.415 GB, free: 6.594 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.5476, allocations: 1.048 MB / 1.416 GB, free: 5.539 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.5478, allocations: 57.62 kB / 1.416 GB, free: 5.477 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.5485, allocations: 0.8092 MB / 1.417 GB, free: 4.656 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007105/0.5492, allocations: 0.6507 MB / 1.417 GB, free: 4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008303/0.55, allocations: 367.5 kB / 1.418 GB, free: 3.633 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5501, allocations: 301.1 kB / 1.418 GB, free: 3.336 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.553, allocations: 1.928 MB / 1.42 GB, free: 1.406 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/0.5563, allocations: 2.289 MB / 1.422 GB, free: 14.99 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006622/0.5629, allocations: 4.387 MB / 1.426 GB, free: 10.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.5629, allocations: 4 kB / 1.426 GB, free: 10.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02155/0.5844, allocations: 8.87 MB / 1.435 GB, free: 1.582 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.5845, allocations: 9.562 kB / 1.435 GB, free: 1.574 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5845, allocations: 11.94 kB / 1.435 GB, free: 1.562 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01787/0.6024, allocations: 4.984 MB / 1.44 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009297/0.6033, allocations: 191.7 kB / 1.44 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06204/0.6653, allocations: 37.81 MB / 1.477 GB, free: 6.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.6671, allocations: 99.89 kB / 1.477 GB, free: 6.055 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.6673, allocations: 68 kB / 1.477 GB, free: 5.988 MB / 1.17 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.001383/0.6687, allocations: 0.8104 MB / 1.478 GB, free: 5.168 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.6691, allocations: 143.1 kB / 1.478 GB, free: 5.027 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/0.69, allocations: 8.73 MB / 1.487 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.69, allocations: 23.88 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.19e-05/0.6901, allocations: 36 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/0.6901, allocations: 7.969 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/0.7187, allocations: 12.4 MB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.7188, allocations: 4 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.7193, allocations: 123.8 kB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01789/0.7372, allocations: 4.826 MB / 1.504 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003531/0.7376, allocations: 32 kB / 1.504 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05893/0.7965, allocations: 35.77 MB / 1.539 GB, free: 6.48 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7965, allocations: 11.94 kB / 1.539 GB, free: 6.469 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/0.8174, allocations: 8.448 MB / 1.547 GB, free: 13.93 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/0.8194, allocations: 0.5769 MB / 1.547 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/0.8198, allocations: 32 kB / 1.547 GB, free: 13.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.821, allocations: 87.89 kB / 1.547 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008017/0.8218, allocations: 173.5 kB / 1.548 GB, free: 13.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.822, allocations: 44 kB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001054/0.823, allocations: 0.7258 MB / 1.548 GB, free: 12.29 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.823, allocations: 0 / 1.548 GB, free: 12.29 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003106/0.8261, allocations: 1 MB / 1.549 GB, free: 11.29 MB / 1.248 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.0003241/0.8264, allocations: 143.1 kB / 1.55 GB, free: 11.14 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01073/0.8372, allocations: 5.74 MB / 1.555 GB, free: 5.34 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8372, allocations: 0 / 1.555 GB, free: 5.34 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008615/0.8458, allocations: 3.772 MB / 1.559 GB, free: 1.516 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.8474, allocations: 239.5 kB / 1.559 GB, free: 1.289 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008977/0.8563, allocations: 5.186 MB / 1.564 GB, free: 12.04 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.8582, allocations: 1.271 MB / 1.565 GB, free: 10.73 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009405/0.8591, allocations: 359.2 kB / 1.566 GB, free: 10.38 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.8593, allocations: 63.44 kB / 1.566 GB, free: 10.31 MB / 1.264 GB Notification: Performance of SimCode: time 1.112e-06/0.8593, allocations: 0 / 1.566 GB, free: 10.31 MB / 1.264 GB Notification: Performance of Templates: time 0.6727/1.532, allocations: 66.83 MB / 1.631 GB, free: 259.8 MB / 1.295 GB " [Timeout remaining time 298] 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 -s cvode -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/jenkins1/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.898857772990596]