Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.00181/0.00181, allocations: 88.05 kB / 19.44 MB, free: 332 kB / 13.93 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.002024/0.002024, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.373/3.373, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8774 GB, free: 5.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.485e-05, allocations: 3.406 kB / 0.8774 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01083/0.01086, allocations: 6.865 MB / 0.8841 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006294/0.01715, allocations: 3.127 MB / 0.8872 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005888/0.01774, allocations: 40.84 kB / 0.8872 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.02071, allocations: 0.9685 MB / 0.8882 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.0222, allocations: 0.5435 MB / 0.8887 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.02351, allocations: 442.8 kB / 0.8891 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.02537, allocations: 1.271 MB / 0.8904 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.02642, allocations: 0.5373 MB / 0.8909 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.02771, allocations: 0.6702 MB / 0.8916 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009511/0.02866, allocations: 490.6 kB / 0.892 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.02882, allocations: 64 kB / 0.8921 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/0.02961, allocations: 347.1 kB / 0.8924 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.03003, allocations: 331.1 kB / 0.8927 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0007633/0.0308, allocations: 319.2 kB / 0.893 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.0327, allocations: 1.258 MB / 0.8943 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.0327, allocations: 0 / 0.8943 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.393e-06/0.0327, allocations: 0 / 0.8943 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.634e-05/0.03274, allocations: 0 / 0.8943 GB, free: 4.262 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002467/0.0352, allocations: 1.266 MB / 0.8955 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.03524, allocations: 12.03 kB / 0.8955 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.03708, allocations: 351.7 kB / 0.8959 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.03828, allocations: 0.5498 MB / 0.8964 GB, free: 2.027 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.03834, allocations: 53.67 kB / 0.8964 GB, free: 1.973 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.03847, allocations: 64.38 kB / 0.8965 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.04019, allocations: 1.154 MB / 0.8976 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.04023, allocations: 8.188 kB / 0.8976 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.787e-05/0.0403, allocations: 28.36 kB / 0.8977 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.04048, allocations: 97.12 kB / 0.8978 GB, free: 424 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.04142, allocations: 420.6 kB / 0.8982 GB, free: 4 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006924/0.04835, allocations: 5.905 MB / 0.9039 GB, free: 9.902 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008576/0.0492, allocations: 309.7 kB / 0.9042 GB, free: 9.582 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.04954, allocations: 147.4 kB / 0.9044 GB, free: 9.438 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.04959, allocations: 12.48 kB / 0.9044 GB, free: 9.426 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.04963, allocations: 45.83 kB / 0.9044 GB, free: 9.371 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.04963, allocations: 0 / 0.9044 GB, free: 9.371 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.003546/0.05318, allocations: 1.154 MB / 0.9055 GB, free: 8.195 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.05324, allocations: 55.91 kB / 0.9056 GB, free: 8.129 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.05405, allocations: 0.6429 MB / 0.9062 GB, free: 7.469 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.0541, allocations: 37.7 kB / 0.9063 GB, free: 7.426 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/0.05471, allocations: 482.6 kB / 0.9067 GB, free: 6.949 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.0549, allocations: 190.5 kB / 0.9069 GB, free: 6.762 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.05514, allocations: 140.2 kB / 0.907 GB, free: 6.613 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003486/0.05549, allocations: 0.5665 MB / 0.9076 GB, free: 6.035 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.05584, allocations: 149.9 kB / 0.9077 GB, free: 5.891 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.05646, allocations: 460.7 kB / 0.9082 GB, free: 5.309 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.05749, allocations: 0.6561 MB / 0.9088 GB, free: 4.523 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.0575, allocations: 4 kB / 0.9088 GB, free: 4.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001818/0.05932, allocations: 0.8199 MB / 0.9096 GB, free: 3.672 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.05934, allocations: 16.02 kB / 0.9096 GB, free: 3.656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.05935, allocations: 4 kB / 0.9096 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.06089, allocations: 322.4 kB / 0.9099 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.06142, allocations: 131.7 kB / 0.9101 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008576/0.07, allocations: 7.783 MB / 0.9177 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.07065, allocations: 40.16 kB / 0.9177 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.07073, allocations: 31.94 kB / 0.9177 GB, free: 10.84 MB / 0.8386 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003932/0.07113, allocations: 236.3 kB / 0.918 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.07133, allocations: 91.58 kB / 0.918 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.0728, allocations: 0.5845 MB / 0.9186 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.07281, allocations: 8.031 kB / 0.9186 GB, free: 9.898 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.07282, allocations: 4 kB / 0.9186 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.07283, allocations: 0 / 0.9186 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.07559, allocations: 1.326 MB / 0.9199 GB, free: 8.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.07559, allocations: 0 / 0.9199 GB, free: 8.484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.07588, allocations: 59.89 kB / 0.92 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.07731, allocations: 310.6 kB / 0.9203 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.07735, allocations: 12 kB / 0.9203 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008367/0.08572, allocations: 7.787 MB / 0.9279 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.08572, allocations: 0 / 0.9279 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.0873, allocations: 0.7715 MB / 0.9286 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.08767, allocations: 107.5 kB / 0.9288 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.08778, allocations: 12.19 kB / 0.9288 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.08819, allocations: 39.94 kB / 0.9288 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.08833, allocations: 55.8 kB / 0.9289 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.08836, allocations: 12 kB / 0.9289 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005275/0.08889, allocations: 402.8 kB / 0.9292 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.21e-07/0.08889, allocations: 0 / 0.9292 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008706/0.08976, allocations: 228 kB / 0.9295 GB, free: 14.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001935/0.08996, allocations: 123.1 kB / 0.9296 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.09216, allocations: 1.249 MB / 0.9308 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.09216, allocations: 0 / 0.9308 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.09365, allocations: 1.008 MB / 0.9318 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.09475, allocations: 197.9 kB / 0.932 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.09727, allocations: 1.29 MB / 0.9332 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.09779, allocations: 400.8 kB / 0.9336 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003819/0.09817, allocations: 97.52 kB / 0.9337 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.09829, allocations: 40.5 kB / 0.9338 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.09829, allocations: 0 / 0.9338 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of Templates: time 0.02299/0.1213, allocations: 11.45 MB / 0.9449 GB, free: 14.3 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 8.698924313066527]