Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001925/0.001925, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002408/0.002408, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.47/1.47, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.897/2.897, allocations: 377.8 MB / 0.6232 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0.7656 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.488e-05, allocations: 5.266 kB / 0.8108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.04838/0.04842, allocations: 21.83 MB / 0.8321 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.06175, allocations: 6.408 MB / 0.8384 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.06394, allocations: 131 kB / 0.8385 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004793/0.06874, allocations: 1.508 MB / 0.84 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.07407, allocations: 1.989 MB / 0.8419 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0044/0.07847, allocations: 1.474 MB / 0.8434 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.08862, allocations: 7.028 MB / 0.8502 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008507/0.09712, allocations: 3.748 MB / 0.8539 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008718/0.1058, allocations: 4.012 MB / 0.8578 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006584/0.1124, allocations: 3.403 MB / 0.8611 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.1139, allocations: 0.5273 MB / 0.8617 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/0.1172, allocations: 1.127 MB / 0.8628 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.004242/0.1215, allocations: 2.662 MB / 0.8654 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004286/0.1258, allocations: 1.754 MB / 0.8671 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.139, allocations: 8.691 MB / 0.8756 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.139, allocations: 0 / 0.8756 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.583e-06/0.139, allocations: 3.938 kB / 0.8756 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002584/0.1392, allocations: 4 kB / 0.8756 GB, free: 14.46 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01167/0.1509, allocations: 4.417 MB / 0.8799 GB, free: 9.984 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1509, allocations: 12.03 kB / 0.8799 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.1619, allocations: 2.292 MB / 0.8821 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007054/0.1689, allocations: 2.789 MB / 0.8849 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.1694, allocations: 275.7 kB / 0.8851 GB, free: 4.57 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/0.171, allocations: 368.3 kB / 0.8855 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.1893, allocations: 7.713 MB / 0.893 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.1894, allocations: 16.02 kB / 0.893 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.1905, allocations: 164.3 kB / 0.8932 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007474/0.1913, allocations: 487.3 kB / 0.8936 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.2042, allocations: 5.693 MB / 0.8992 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03739/0.2416, allocations: 20.07 MB / 0.9188 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/0.2452, allocations: 2.012 MB / 0.9208 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00377/0.249, allocations: 2.108 MB / 0.9228 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.2492, allocations: 29.25 kB / 0.9228 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.2492, allocations: 43.88 kB / 0.9229 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.647e-06/0.2492, allocations: 0 / 0.9229 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.3156/0.5648, allocations: 76.76 MB / 0.9979 GB, free: 200 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.5649, allocations: 77.41 kB / 0.9979 GB, free: 108 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.5676, allocations: 1.606 MB / 0.9995 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004406/0.5681, allocations: 65.7 kB / 0.9996 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.5698, allocations: 1.803 MB / 1.001 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/0.571, allocations: 0.8868 MB / 1.002 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.5723, allocations: 477.4 kB / 1.003 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5724, allocations: 305.1 kB / 1.003 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004468/0.5769, allocations: 2.73 MB / 1.006 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005174/0.5821, allocations: 3.328 MB / 1.009 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.5923, allocations: 6.397 MB / 1.015 GB, free: 14 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/0.5924, allocations: 8 kB / 1.015 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.424/1.016, allocations: 14.51 MB / 1.029 GB, free: 208.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/1.016, allocations: 12.12 kB / 1.029 GB, free: 208.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/1.016, allocations: 18.28 kB / 1.029 GB, free: 208.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03386/1.05, allocations: 9.48 MB / 1.039 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.052, allocations: 300.2 kB / 1.039 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0692/1.121, allocations: 51.04 MB / 1.089 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.124, allocations: 220.5 kB / 1.089 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000523/1.124, allocations: 96.88 kB / 1.089 GB, free: 179.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002421/1.127, allocations: 1.589 MB / 1.091 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009052/1.127, allocations: 326.6 kB / 1.091 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02914/1.157, allocations: 14.47 MB / 1.105 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.157, allocations: 28 kB / 1.105 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000167/1.157, allocations: 44 kB / 1.105 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-05/1.157, allocations: 20.64 kB / 1.105 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.037/1.194, allocations: 18.94 MB / 1.124 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/1.194, allocations: 7.984 kB / 1.124 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/1.195, allocations: 167.1 kB / 1.124 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02851/1.223, allocations: 9.23 MB / 1.133 GB, free: 134.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005169/1.224, allocations: 48 kB / 1.133 GB, free: 134.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06736/1.291, allocations: 50.6 MB / 1.182 GB, free: 83.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.291, allocations: 8 kB / 1.182 GB, free: 83.32 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02807/1.319, allocations: 14.16 MB / 1.196 GB, free: 69.02 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.321, allocations: 0.7676 MB / 1.197 GB, free: 68.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007146/1.322, allocations: 54.52 kB / 1.197 GB, free: 68.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.324, allocations: 207.7 kB / 1.197 GB, free: 68 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/1.325, allocations: 253.3 kB / 1.197 GB, free: 67.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002983/1.326, allocations: 67.98 kB / 1.197 GB, free: 67.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001496/1.327, allocations: 1.064 MB / 1.198 GB, free: 66.63 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/1.327, allocations: 0 / 1.198 GB, free: 66.63 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004995/1.332, allocations: 1.621 MB / 1.2 GB, free: 65.01 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004583/1.333, allocations: 162.2 kB / 1.2 GB, free: 64.84 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0192/1.352, allocations: 10.2 MB / 1.21 GB, free: 54.58 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.352, allocations: 256 / 1.21 GB, free: 54.58 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01487/1.367, allocations: 7.005 MB / 1.217 GB, free: 47.53 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/1.37, allocations: 0.5517 MB / 1.217 GB, free: 47 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/1.384, allocations: 9.016 MB / 1.226 GB, free: 37.87 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/1.388, allocations: 2.673 MB / 1.229 GB, free: 35.16 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009964/1.389, allocations: 378.8 kB / 1.229 GB, free: 34.78 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/1.389, allocations: 96.5 kB / 1.229 GB, free: 34.69 MB / 0.9323 GB Notification: Performance of SimCode: time 1.663e-06/1.389, allocations: 4 kB / 1.229 GB, free: 34.68 MB / 0.9323 GB Notification: Performance of Templates: time 0.1456/1.535, allocations: 97.65 MB / 1.325 GB, free: 1.379 MB / 0.9948 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.95578875800129]