Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.00239/0.00239, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002894/0.002894, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 4.762 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 3.075/3.075, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0.7656 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.587e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01514/0.01517, allocations: 10.06 MB / 0.8206 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006362/0.02153, allocations: 3.095 MB / 0.8237 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004435/0.02197, allocations: 47.62 kB / 0.8237 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.02405, allocations: 0.7019 MB / 0.8244 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.02566, allocations: 0.7519 MB / 0.8251 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.0271, allocations: 0.6405 MB / 0.8258 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.03052, allocations: 2.784 MB / 0.8285 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.03268, allocations: 1.364 MB / 0.8298 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.03497, allocations: 1.599 MB / 0.8314 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.03716, allocations: 1.414 MB / 0.8327 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.03754, allocations: 216.6 kB / 0.833 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/0.03851, allocations: 463.3 kB / 0.8334 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.03973, allocations: 1.074 MB / 0.8344 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.04077, allocations: 0.7212 MB / 0.8351 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.04499, allocations: 3.502 MB / 0.8386 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.045, allocations: 3.938 kB / 0.8386 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.422e-06/0.045, allocations: 0 / 0.8386 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.961e-05/0.04504, allocations: 1.094 kB / 0.8386 GB, free: 5.559 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004309/0.04935, allocations: 2.222 MB / 0.8407 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.04938, allocations: 8.031 kB / 0.8408 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006445/0.05583, allocations: 1.164 MB / 0.8419 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.05878, allocations: 1.072 MB / 0.8429 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.0589, allocations: 115.3 kB / 0.843 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.05925, allocations: 145.3 kB / 0.8432 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.0631, allocations: 1.856 MB / 0.845 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.06314, allocations: 4.125 kB / 0.845 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.06334, allocations: 61.45 kB / 0.8451 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/0.0636, allocations: 182.9 kB / 0.8452 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.06609, allocations: 0.8752 MB / 0.8461 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.08347, allocations: 10.17 MB / 0.856 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.08483, allocations: 0.4977 MB / 0.8565 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/0.08581, allocations: 378.5 kB / 0.8569 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.696e-05/0.08588, allocations: 12.66 kB / 0.8569 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.08593, allocations: 46.05 kB / 0.8569 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/0.08593, allocations: 0 / 0.8569 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.02359/0.1095, allocations: 5.993 MB / 0.8628 GB, free: 12.21 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1096, allocations: 68.7 kB / 0.8628 GB, free: 12.13 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.1112, allocations: 0.96 MB / 0.8638 GB, free: 11.16 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.1114, allocations: 45.7 kB / 0.8638 GB, free: 11.11 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007759/0.1121, allocations: 0.8465 MB / 0.8647 GB, free: 10.25 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006592/0.1128, allocations: 0.5504 MB / 0.8652 GB, free: 9.695 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007517/0.1135, allocations: 333.2 kB / 0.8655 GB, free: 9.359 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003479/0.1139, allocations: 0.555 MB / 0.866 GB, free: 8.797 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.115, allocations: 415.8 kB / 0.8664 GB, free: 8.391 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.1166, allocations: 0.9158 MB / 0.8673 GB, free: 7.316 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/0.1196, allocations: 1.484 MB / 0.8688 GB, free: 5.668 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.1196, allocations: 4 kB / 0.8688 GB, free: 5.664 MB / 0.823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01057/0.1301, allocations: 3.082 MB / 0.8718 GB, free: 2.555 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.1302, allocations: 12.05 kB / 0.8718 GB, free: 2.543 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.1302, allocations: 12 kB / 0.8718 GB, free: 2.531 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00948/0.1397, allocations: 1.945 MB / 0.8737 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009124/0.1406, allocations: 191.7 kB / 0.8739 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03265/0.1732, allocations: 15.77 MB / 0.8893 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.1748, allocations: 95.88 kB / 0.8894 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.1751, allocations: 56.05 kB / 0.8894 GB, free: 15.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008482/0.176, allocations: 284.1 kB / 0.8897 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/0.1764, allocations: 163.3 kB / 0.8899 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.187, allocations: 2.897 MB / 0.8927 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.187, allocations: 15.98 kB / 0.8927 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.098e-05/0.1871, allocations: 20 kB / 0.8927 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.1871, allocations: 7.922 kB / 0.8927 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.203, allocations: 5.321 MB / 0.8979 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.203, allocations: 0 / 0.8979 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.2036, allocations: 124 kB / 0.8981 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009241/0.2128, allocations: 1.839 MB / 0.8999 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.213, allocations: 36 kB / 0.8999 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02935/0.2423, allocations: 14.5 MB / 0.914 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.2423, allocations: 7.938 kB / 0.9141 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009916/0.2522, allocations: 2.984 MB / 0.917 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.2535, allocations: 379 kB / 0.9173 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.2538, allocations: 31.89 kB / 0.9174 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.2548, allocations: 79.91 kB / 0.9174 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005456/0.2554, allocations: 132.9 kB / 0.9176 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.2555, allocations: 36 kB / 0.9176 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009095/0.2564, allocations: 0.5732 MB / 0.9182 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2564, allocations: 0 / 0.9182 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002572/0.259, allocations: 0.7227 MB / 0.9189 GB, free: 1.094 MB / 0.8698 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002757/0.2593, allocations: 135.1 kB / 0.919 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006562/0.2658, allocations: 2.683 MB / 0.9216 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.2658, allocations: 0 / 0.9216 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005322/0.2712, allocations: 2.132 MB / 0.9237 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.2725, allocations: 218.3 kB / 0.9239 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.2793, allocations: 3.345 MB / 0.9272 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.2808, allocations: 0.9761 MB / 0.9281 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007228/0.2816, allocations: 257.2 kB / 0.9284 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.2817, allocations: 64.42 kB / 0.9284 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of SimCode: time 1.864e-06/0.2818, allocations: 0 / 0.9284 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of Templates: time 0.07206/0.3538, allocations: 42.81 MB / 0.9702 GB, free: 12.47 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.062088422942907]