Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0007961/0.0007961, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007565/0.0007565, allocations: 173.9 kB / 23.21 MB, free: 1.348 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 0.8712/0.8712, allocations: 177.2 MB / 203.5 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] 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 1.756/1.756, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.756e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005173/0.005201, allocations: 5.901 MB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.008183, allocations: 3.11 MB / 1.01 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.008426, allocations: 39.62 kB / 1.01 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.009602, allocations: 0.9325 MB / 1.011 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.01019, allocations: 0.5009 MB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.01076, allocations: 0.5062 MB / 1.012 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000785/0.01154, allocations: 1.135 MB / 1.013 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/0.01209, allocations: 0.51 MB / 1.013 GB, free: 320 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.0126, allocations: 0.6194 MB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.01297, allocations: 418.9 kB / 1.014 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.01303, allocations: 56 kB / 1.014 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.01342, allocations: 450.7 kB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.01361, allocations: 311.1 kB / 1.015 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.01379, allocations: 275.3 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.0146, allocations: 1.211 MB / 1.016 GB, free: 13 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.0146, allocations: 0 / 1.016 GB, free: 13 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.312e-06/0.0146, allocations: 0 / 1.016 GB, free: 13 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.01461, allocations: 0 / 1.016 GB, free: 13 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001027/0.01564, allocations: 1.003 MB / 1.017 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.01568, allocations: 8.75 kB / 1.017 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/0.01645, allocations: 224.2 kB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.01703, allocations: 0.5352 MB / 1.018 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.01706, allocations: 49.67 kB / 1.018 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.01713, allocations: 64.36 kB / 1.018 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.01805, allocations: 1.127 MB / 1.019 GB, free: 9.801 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.01808, allocations: 8.125 kB / 1.019 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.01812, allocations: 28.36 kB / 1.019 GB, free: 9.766 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.01819, allocations: 77.2 kB / 1.019 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.01894, allocations: 0.6918 MB / 1.02 GB, free: 8.996 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.02158, allocations: 4.397 MB / 1.024 GB, free: 4.445 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.02209, allocations: 414.1 kB / 1.025 GB, free: 4.031 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.02255, allocations: 383.5 kB / 1.025 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.02258, allocations: 7.938 kB / 1.025 GB, free: 3.648 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.0226, allocations: 38.56 kB / 1.025 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=41): time 2.946e-06/0.02261, allocations: 0 / 1.025 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.002382/0.02499, allocations: 1.726 MB / 1.027 GB, free: 1.855 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.02502, allocations: 55.41 kB / 1.027 GB, free: 1.789 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.02531, allocations: 449.7 kB / 1.027 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.02533, allocations: 37.7 kB / 1.027 GB, free: 1.297 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.0255, allocations: 396 kB / 1.028 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.02557, allocations: 154.6 kB / 1.028 GB, free: 0.75 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.02567, allocations: 106.3 kB / 1.028 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.02577, allocations: 362.8 kB / 1.028 GB, free: 284 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.026, allocations: 249.2 kB / 1.029 GB, free: 32 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.02632, allocations: 457 kB / 1.029 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.02691, allocations: 0.748 MB / 1.03 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02691, allocations: 4 kB / 1.03 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001038/0.02795, allocations: 1.046 MB / 1.031 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.02797, allocations: 8.875 kB / 1.031 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.02797, allocations: 4 kB / 1.031 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.02852, allocations: 327.1 kB / 1.031 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.02868, allocations: 103.8 kB / 1.031 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.03288, allocations: 6.97 MB / 1.038 GB, free: 5.746 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.03304, allocations: 32.02 kB / 1.038 GB, free: 5.715 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.03306, allocations: 24 kB / 1.038 GB, free: 5.691 MB / 0.9948 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.03326, allocations: 249.5 kB / 1.038 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.03331, allocations: 63.56 kB / 1.038 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009499/0.03426, allocations: 0.8884 MB / 1.039 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.03426, allocations: 4 kB / 1.039 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.03427, allocations: 4 kB / 1.039 GB, free: 4.461 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.03427, allocations: 7.875 kB / 1.039 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.03581, allocations: 1.509 MB / 1.041 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03581, allocations: 3.938 kB / 1.041 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.03589, allocations: 36.16 kB / 1.041 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.03636, allocations: 319.1 kB / 1.041 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.03638, allocations: 8 kB / 1.041 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.0404, allocations: 6.963 MB / 1.048 GB, free: 11.13 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.0404, allocations: 7.938 kB / 1.048 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.04132, allocations: 0.9839 MB / 1.049 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.04144, allocations: 99.56 kB / 1.049 GB, free: 9.996 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.04147, allocations: 15.98 kB / 1.049 GB, free: 9.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.0416, allocations: 19.98 kB / 1.049 GB, free: 9.961 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.04166, allocations: 39.92 kB / 1.049 GB, free: 9.922 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.04167, allocations: 16 kB / 1.049 GB, free: 9.906 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001821/0.04185, allocations: 290.8 kB / 1.049 GB, free: 9.625 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.04185, allocations: 0 / 1.049 GB, free: 9.625 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004823/0.04234, allocations: 192 kB / 1.05 GB, free: 9.438 MB / 1.01 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001351/0.04247, allocations: 123.5 kB / 1.05 GB, free: 9.312 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.04353, allocations: 1.16 MB / 1.051 GB, free: 8.102 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.04353, allocations: 0 / 1.051 GB, free: 8.102 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.04413, allocations: 0.8398 MB / 1.052 GB, free: 7.211 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.04471, allocations: 193.6 kB / 1.052 GB, free: 7.027 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.04602, allocations: 1.298 MB / 1.053 GB, free: 5.676 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.04627, allocations: 410.7 kB / 1.053 GB, free: 5.246 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.04634, allocations: 40.48 kB / 1.054 GB, free: 5.207 MB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/0.04635, allocations: 0 / 1.054 GB, free: 5.207 MB / 1.01 GB Notification: Performance of Templates: time 0.4535/0.4998, allocations: 18.83 MB / 1.072 GB, free: 93.07 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.293881053104997]